From 96970e9a5c9dd1c82f374919b4924637cb42834f Mon Sep 17 00:00:00 2001 From: Patrick Jenkins Date: Thu, 27 Jul 2006 20:21:26 +0000 Subject: [PATCH] ChangeDir now returns the correct value git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29361 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/NewNightlyTest.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.34.1