diff options
-rw-r--r-- | lib/OutPipe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/OutPipe.cc b/lib/OutPipe.cc index be93e15..eb4b67e 100644 --- a/lib/OutPipe.cc +++ b/lib/OutPipe.cc @@ -12,7 +12,7 @@ OutPipe::~OutPipe() { } OutPipe::OutPipe(const OutPipe & o) : Handle(o), hooked(o.hooked) { - p[0] = dup(i.p[0]); + p[0] = dup(o.p[0]); p[1] = GetHandle(); } |