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] ); }