mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Fix bug in the output if rinv firm verbose that was displaying * for all active listings
This commit is contained in:
parent
7f612095d0
commit
03f3fe0c6e
@ -1830,10 +1830,12 @@ sub rinv_response {
|
||||
# to cause the sorting of this line before any additional info lines
|
||||
#
|
||||
$content_info = "$purpose_value Firmware Product: $content{Version} ($activation_value)";
|
||||
my $indicator = "*";
|
||||
my $indicator = "";
|
||||
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})) {
|
||||
$indicator = "*";
|
||||
}
|
||||
$content_info .= $indicator;
|
||||
push (@sorted_output, $content_info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user