diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 318a99f089..23d0edc808 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -547,6 +547,7 @@ void kwsysProcess_Execute(kwsysProcess* cp) if(r < 0) { kwsysProcessCleanup(cp, 1); + return; } }