diff options
author | Patrick Jenkins <pjenkins@apple.com> | 2006-07-27 20:21:26 +0000 |
---|---|---|
committer | Patrick Jenkins <pjenkins@apple.com> | 2006-07-27 20:21:26 +0000 |
commit | 96970e9a5c9dd1c82f374919b4924637cb42834f (patch) | |
tree | 86327b72f91f93d7612c965ce8303574e9201497 /utils/NewNightlyTest.pl | |
parent | 33a0a6ddf5427e05b1d9477075c6f6bf60aa7e62 (diff) | |
download | llvm-96970e9a5c9dd1c82f374919b4924637cb42834f.tar.gz llvm-96970e9a5c9dd1c82f374919b4924637cb42834f.tar.bz2 llvm-96970e9a5c9dd1c82f374919b4924637cb42834f.tar.xz |
ChangeDir now returns the correct value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29361 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-x | utils/NewNightlyTest.pl | 3 |
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; } #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |