minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
444679ba77
commit
b6032f8fbc
@ -325,7 +325,8 @@ sub do_rnetboot {
|
||||
#######################################
|
||||
# Invoke the lpar_netbootexp
|
||||
#######################################
|
||||
$Rc = xCAT::LparNetbootExp->lparnetbootexp(\%optarg, $request);
|
||||
$result = xCAT::LparNetbootExp->lparnetbootexp(\%optarg, $request);
|
||||
$Rc = @$result[0];
|
||||
if ( $Rc == SUCCESS ) {
|
||||
$done = 2;
|
||||
} else {
|
||||
@ -337,7 +338,7 @@ sub do_rnetboot {
|
||||
last;
|
||||
}
|
||||
}
|
||||
return( [$Rc,$result] );
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user