diff --git a/perl-xCAT-2.0/xCAT/PPCboot.pm b/perl-xCAT-2.0/xCAT/PPCboot.pm index 1b8a5ddaa..be3ff7d13 100644 --- a/perl-xCAT-2.0/xCAT/PPCboot.pm +++ b/perl-xCAT-2.0/xCAT/PPCboot.pm @@ -214,6 +214,10 @@ sub ivm_rnetboot { if ( -r $fname ) { unlink( $fname ); } + ####################################### + # Get command exit code + ####################################### + my $Rc = ( $? ) ? $? >> 8 : SUCCESS; return( [SUCCESS,$result] ); }