aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/NewNightlyTest.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index 0a604d3f2c..033ae1c7af 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -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;
}
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~