From 2cac54807123222bded5f792e11055010d523b22 Mon Sep 17 00:00:00 2001 From: sakolish Date: Mon, 3 Mar 2008 20:42:57 +0000 Subject: [PATCH] Return command exit code - Line #230 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/PPCmac.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT-2.0/xCAT/PPCmac.pm b/perl-xCAT-2.0/xCAT/PPCmac.pm index 429f4d30c..072193288 100644 --- a/perl-xCAT-2.0/xCAT/PPCmac.pm +++ b/perl-xCAT-2.0/xCAT/PPCmac.pm @@ -227,7 +227,7 @@ sub ivm_getmacs { # Get command exit code ####################################### my $Rc = ( $? ) ? $? >> 8 : SUCCESS; - return( [SUCCESS,$result] ); + return( [$Rc,$result] ); }