fix bug 3532065: rflash --bpa_acdl needs result output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
86acca4d8a
commit
ce07ccbbcc
@ -352,7 +352,11 @@ sub rflash {
|
||||
}
|
||||
|
||||
my $res = xCAT::FSPUtils::fsp_api_action($request, $name, $d, $action, 0, $request->{opt}->{d} );
|
||||
push(@value,[$name, @$res[1], @$res[2]]);
|
||||
if ($action eq "acdl" && @$res[2] eq '0') {
|
||||
push(@value, [$name, "Success", '0']);
|
||||
} else {
|
||||
push(@value,[$name, @$res[1], @$res[2]]);
|
||||
}
|
||||
return (\@value);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user