mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Fix bug, anything in the functional array is the one that's really active, priority will not be 0 if there is pending firmware
This commit is contained in:
parent
488f3e8f2e
commit
2c2748a548
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user