2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Merge pull request #4351 from whowutwut/openbmc_rinv_indicator

[OpenBMC] Fix bug with rinv <> firm to display active firmware
This commit is contained in:
xuweibj 2017-11-22 08:52:58 +08:00 committed by GitHub
commit 6315852abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1925,7 +1925,7 @@ sub rinv_response {
if ($priority_value == 0 and %{$functional} and !exists($functional->{$sw_id})) {
# indicate that a reboot is needed if priority = 0 and it's not in the functional list
$indicator = "+";
} elsif ($priority_value == 0 and %{$functional} and exists($functional->{$sw_id})) {
} elsif (%{$functional} and exists($functional->{$sw_id})) {
$indicator = "*";
}
$content_info .= $indicator;