From 8ea8c2b7cbf143b40fa5b6110d7ab78fa3679fed Mon Sep 17 00:00:00 2001 From: qgarnier Date: Tue, 20 Apr 2021 09:18:10 +0200 Subject: [PATCH] fix(ibm/hmc) led-status mode - systems missing (#2721) --- hardware/server/ibm/hmc/ssh/mode/ledstatus.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/server/ibm/hmc/ssh/mode/ledstatus.pm b/hardware/server/ibm/hmc/ssh/mode/ledstatus.pm index 7201cec17..2d18fc796 100644 --- a/hardware/server/ibm/hmc/ssh/mode/ledstatus.pm +++ b/hardware/server/ibm/hmc/ssh/mode/ledstatus.pm @@ -99,7 +99,7 @@ sub manage_selection { $self->{physical} = {}; $self->{virtuallpar} = {}; - while ($content =~ /^system:\s+(.*?)\n(.*?)(?:system:|\Z)/msg) { + while ($content =~ /^system:\s+(.*?)\n(.*?)(?=system:|\Z)/msg) { my ($system_name, $subcontent) = ($1, $2); if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne '' && $system_name !~ /$self->{option_results}->{filter_name}/) {