Commit 2990c3db authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Return error on copy

parent f15cce92
......@@ -45,7 +45,7 @@ int main(int ac, char** av)
if ( args[1] == "copy" && args.size() == 4 )
{
cmSystemTools::cmCopyFile(args[2].c_str(), args[3].c_str());
return 0;
return cmSystemTools::GetErrorOccuredFlag();
}
if ( args[1] == "remove" && args.size() > 2 )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment