diff options
author | Michael Vogt <egon@bottom> | 2007-08-28 09:55:08 +0200 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2007-08-28 09:55:08 +0200 |
commit | c3a7357e82f58d5061485b422aac990fdccac164 (patch) | |
tree | b355f6f5e5ed4625ce7072f22cb3929200b83dbb /apt-pkg | |
parent | 3525c773c191b5e162bb251c50c829c6abeefebc (diff) | |
parent | bb8cbb9a85441f4c303456adedf6b72dbb67b617 (diff) |
* merged from dpkg-log branch
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 5 |
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)) |