summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/acquire-worker.cc')
-rw-r--r--apt-pkg/acquire-worker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc
index 97a7fbb77..a2f970ab6 100644
--- a/apt-pkg/acquire-worker.cc
+++ b/apt-pkg/acquire-worker.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire-worker.cc,v 1.30 2000/01/27 04:15:09 jgg Exp $
+// $Id: acquire-worker.cc,v 1.31 2000/05/10 05:56:46 jgg Exp $
/* ######################################################################
Acquire Worker
@@ -117,7 +117,7 @@ bool pkgAcquire::Worker::Start()
return false;
}
for (int I = 0; I != 4; I++)
- SetCloseExec(Pipes[0],true);
+ SetCloseExec(Pipes[I],true);
// Fork off the process
Process = ExecFork();