Better isolate failures to one FRU area.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
bb0d44e4c6
commit
dde326fb95
@ -1704,6 +1704,18 @@ sub process_currfruid {
|
||||
add_fruhash($sessdata);
|
||||
return;
|
||||
}
|
||||
if ($rsp and $rsp->{code}) { #non-zero return code..
|
||||
$sessdata->{currfrudata}="Unable to read";
|
||||
if ($codes{$rsp->{code}}) {
|
||||
$sessdata->{currfrudata} .= " (".$codes{$rsp->{code}}.")";
|
||||
} else {
|
||||
$sessdata->{currfrudata} .= sprintf(" (Unknown reason %02xh)",$rsp->{code});
|
||||
}
|
||||
$sessdata->{currfrudone}=1;
|
||||
add_fruhash($sessdata);
|
||||
return;
|
||||
}
|
||||
|
||||
if (check_rsp_errors($rsp,$sessdata)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user