Get exit code from lpar_netboot.expect for IVM - Line #220

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2008-03-03 19:52:09 +00:00
parent 4e94290320
commit 5bc1400711

View File

@ -214,6 +214,10 @@ sub ivm_rnetboot {
if ( -r $fname ) {
unlink( $fname );
}
#######################################
# Get command exit code
#######################################
my $Rc = ( $? ) ? $? >> 8 : SUCCESS;
return( [SUCCESS,$result] );
}