diff options
Diffstat (limited to 'lib/OutPipe.cc')
-rw-r--r-- | lib/OutPipe.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/OutPipe.cc b/lib/OutPipe.cc index f939db7..4b2e710 100644 --- a/lib/OutPipe.cc +++ b/lib/OutPipe.cc @@ -16,6 +16,7 @@ void OutPipe::Hook() { hooked = 1; ::close(0); dup(p[0]); + ::close(p[0]); } } |