From 2c2748a548eb42f57691f77190711b5a36cf321c Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Mon, 20 Nov 2017 20:58:16 -0500 Subject: [PATCH] Fix bug, anything in the functional array is the one that's really active, priority will not be 0 if there is pending firmware --- xCAT-server/lib/xcat/plugins/openbmc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index f4b67ee2b..932260f39 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -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;