From 335b4b56fbd44f8f428b6719089d426e61649af5 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 11 Jan 2010 01:32:06 +0000 Subject: fixed double close of pipefd --- src/sysExec.cpp | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v1.2.3