summaryrefslogtreecommitdiff
path: root/src/sysExec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysExec.cpp')
-rw-r--r--src/sysExec.cpp1
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()