summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/OutPipe.cc2
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();
}