summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-01-29 19:31:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-01-29 19:31:45 (GMT)
commitf6cb5c39bd8cd44641a8dd5f452b172531de540f (patch)
tree18119876d9fa1972dfb9d02bf60ca2a35ed8aae4 /Source/cmake.cxx
parentab11f82a5249581857cfacc837709c176095b7af (diff)
downloadCMake-f6cb5c39bd8cd44641a8dd5f452b172531de540f.zip
CMake-f6cb5c39bd8cd44641a8dd5f452b172531de540f.tar.gz
CMake-f6cb5c39bd8cd44641a8dd5f452b172531de540f.tar.bz2
BUG: fix for #8418 -E chdir should return fail of dir does not exist
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index b025185..1f7a746 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1228,7 +1228,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
{
cmSystemTools::Error("Directory does not exist for chdir command: ",
args[2].c_str());
- return 0;
+ return 1;
}
std::string command = "\"";