2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-23 06:25:38 +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

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;