BUG: fix for #8418 -E chdir should return fail of dir does not exist

This commit is contained in:
Bill Hoffman 2009-01-29 14:31:45 -05:00
parent ab11f82a52
commit f6cb5c39bd
1 changed files with 1 additions and 1 deletions

View File

@ -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 = "\"";