2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-02 19:05:32 +00:00

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

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

View File

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