mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-01 17:17:36 +00:00
IPMI eventlog returns decoded events up to an error, rather than just the error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -2381,7 +2381,8 @@ sub eventlog {
|
||||
if($error) {
|
||||
$rc = 1;
|
||||
$text = $error;
|
||||
return($rc,$text);
|
||||
push(@output,$text);
|
||||
return($rc,@output);
|
||||
}
|
||||
|
||||
$code = $returnd[36-$authoffset];
|
||||
@@ -2401,7 +2402,8 @@ sub eventlog {
|
||||
if(!$text) {
|
||||
$text = sprintf("unknown response %02x",$code);
|
||||
}
|
||||
return($rc,$text);
|
||||
push(@output,$text);
|
||||
return($rc,@output);
|
||||
}
|
||||
|
||||
my $next_rec_ls = $returnd[37-$authoffset];
|
||||
|
Reference in New Issue
Block a user