summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = "\"";