diff options
author | Othmar Gsenger <otti@anytun.org> | 2010-01-11 01:32:06 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2010-01-11 01:32:06 +0000 |
commit | 335b4b56fbd44f8f428b6719089d426e61649af5 (patch) | |
tree | ead4f470caaa6cca8ee2e2c5946d2abb9ad4ace5 | |
parent | bugfix in new sysexec (diff) |
fixed double close of pipefd
-rw-r--r-- | src/sysExec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sysExec.cpp b/src/sysExec.cpp index cb12f13..8e94c89 100644 --- a/src/sysExec.cpp +++ b/src/sysExec.cpp @@ -158,6 +158,7 @@ void SysExec::waitForScript() cLog.msg(Log::PRIO_ERROR) << "executing script '" << script_ << "': unknown error"; close(pipefd_); + closed_=true; } SysExec::~SysExec() |