Have rflash on fpc present a more readable error message

This commit is contained in:
Jarrod Johnson 2013-11-11 09:18:00 -05:00
parent 1e40a422b1
commit 5509f6ab48

View File

@ -1256,6 +1256,11 @@ sub rflash {
}
sub fpc_firmup_config {
if ($_[0]->{code} == 0x91) { #ipmi error
xCAT::SvrUtils::sendmsg([1,"Invalid URL given"],$callback,$sessdata->{node},%allerrornodes);
abort_fpc_update($_[1]);
return;
}
if (check_rsp_errors(@_)) {
abort_fpc_update($_[1]);
return;