diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-27 19:10:21 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-27 19:10:21 -0700 |
commit | 00d3e18780e314dc457601e730e0a5a1f95f88f3 (patch) | |
tree | a7912114a0115b061f32781b53f07337a24e7502 /postfork.cpp | |
parent | a62f30075347ce86c219db2344edaf2e5eecb015 (diff) |
Fix compile error (oops)
Diffstat (limited to 'postfork.cpp')
-rw-r--r-- | postfork.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postfork.cpp b/postfork.cpp index e9d5e2ae..7b210ff4 100644 --- a/postfork.cpp +++ b/postfork.cpp @@ -257,7 +257,7 @@ static int handle_child_io( io_data_t *io ) return -1; } - if( write_pipe ) + if( write_pipe_idx > 0 ) { exec_close( io->param1.pipe_fd[0]); exec_close( io->param1.pipe_fd[1]); |