summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2007-08-28 09:55:08 +0200
committerMichael Vogt <egon@bottom>2007-08-28 09:55:08 +0200
commitc3a7357e82f58d5061485b422aac990fdccac164 (patch)
treeb355f6f5e5ed4625ce7072f22cb3929200b83dbb /apt-pkg
parent3525c773c191b5e162bb251c50c829c6abeefebc (diff)
parentbb8cbb9a85441f4c303456adedf6b72dbb67b617 (diff)
* merged from dpkg-log branch
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/dpkgpm.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 68f0a339f..343e3d82f 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -813,9 +813,10 @@ bool pkgDPkgPM::Go(int OutStatusFd)
tv.tv_sec = 1;
tv.tv_usec = 0;
select_ret = select(max(master, _dpkgin)+1, &rfds, NULL, NULL, &tv);
- if (select_ret < 0)
+ if (select_ret < 0) {
std::cerr << "Error in select()" << std::endl;
- else if (select_ret == 0)
+ continue;
+ } else if (select_ret == 0)
continue;
if(master >= 0 && FD_ISSET(master, &rfds))