forked from OSchip/llvm-project
parent
d1a714e503
commit
5afcc63123
|
@ -305,8 +305,9 @@ sub ChangeDir { # directory, logical name
|
|||
$result = chdir($dir);
|
||||
if(!$result){
|
||||
print "ERROR!!! Cannot change directory to: $name ($dir) because $!";
|
||||
return -1;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue