summaryrefslogtreecommitdiff
path: root/lib/InPipe.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-12-05 23:54:00 +0000
committerPixel <Pixel>2001-12-05 23:54:00 +0000
commitc54dfe9b844f6c5d8969669f5144e721e2af82b0 (patch)
tree8a1736cef0cd3a1674666cff978ccf4367e919ae /lib/InPipe.cc
parentc0fc6d58ffd11919ad9ba845c13cb00fd7fadff2 (diff)
Humf...
Diffstat (limited to 'lib/InPipe.cc')
-rw-r--r--lib/InPipe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/InPipe.cc b/lib/InPipe.cc
index 5dc7dfc..978d24b 100644
--- a/lib/InPipe.cc
+++ b/lib/InPipe.cc
@@ -16,6 +16,7 @@ void InPipe::Hook() {
hooked = 1;
::close(1);
dup(p[1]);
+ ::close(p[1]);
}
}