From: Patrick Jenkins Date: Thu, 27 Jul 2006 20:21:26 +0000 (+0000) Subject: ChangeDir now returns the correct value X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=96970e9a5c9dd1c82f374919b4924637cb42834f;p=oota-llvm.git ChangeDir now returns the correct value git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29361 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index 0a604d3f2ca..033ae1c7af0 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; } #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~