From 2b1b7d7817914b87623ae98d2b5f3658793cf887 Mon Sep 17 00:00:00 2001 From: allen Date: Sat, 6 Nov 1999 10:37:43 +0000 Subject: correcting return error code git-svn-id: http://svn.cactuscode.org/flesh/trunk@1136 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/sbin/Runtest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/sbin/Runtest.pl b/lib/sbin/Runtest.pl index 375775df..3e1933c4 100644 --- a/lib/sbin/Runtest.pl +++ b/lib/sbin/Runtest.pl @@ -303,10 +303,10 @@ sub runtest { } close LOG; close CMD; + $retcode = $? >> 8 if($retcode==0); chdir ("../.."); - $retcode = $? >> 8 if($retcode==0); if($retcode != 0) { -- cgit v1.2.3