From f6cb5c39bd8cd44641a8dd5f452b172531de540f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 29 Jan 2009 14:31:45 -0500 Subject: [PATCH] BUG: fix for #8418 -E chdir should return fail of dir does not exist --- Source/cmake.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index b02518521..1f7a7464b 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1228,7 +1228,7 @@ int cmake::ExecuteCMakeCommand(std::vector& args) { cmSystemTools::Error("Directory does not exist for chdir command: ", args[2].c_str()); - return 0; + return 1; } std::string command = "\"";