summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-01-22 16:16:43 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-01-22 16:16:43 (GMT)
commit9cf5bb4bb0686d687e98b6a0e3f88ca8e0096aad (patch)
tree3160b96332e1d37ee17b5adea4ff4ed064b39fb2 /Source/kwsys
parentc1ba581da4c7724984ba60377337a7fb523840b0 (diff)
downloadCMake-9cf5bb4bb0686d687e98b6a0e3f88ca8e0096aad.zip
CMake-9cf5bb4bb0686d687e98b6a0e3f88ca8e0096aad.tar.gz
CMake-9cf5bb4bb0686d687e98b6a0e3f88ca8e0096aad.tar.bz2
BUG: If working directory does not exists, exit
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/ProcessUNIX.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index 318a99f..23d0edc 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;
}
}