diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-08-28 10:02:45 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-08-28 10:02:45 +0200 |
commit | f3f7e00a6269af5d3d0ce3785765dc562be7941d (patch) | |
tree | d128d4b45077297c8b326c0ab9a36d8f313ed7ab /apt-pkg/deb | |
parent | 5177f8024b512f1dca86aaececc5fbc708948ad4 (diff) | |
parent | bb8cbb9a85441f4c303456adedf6b72dbb67b617 (diff) |
* merged from dpkg-log branch
Diffstat (limited to 'apt-pkg/deb')
-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 8eddc04ca..bb7e4b40a 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -810,9 +810,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)) |