mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-07 20:35:27 +02:00
fix(ibm/hmc) led-status mode - systems missing (#2721)
This commit is contained in:
parent
fd1209aa4e
commit
8ea8c2b7cb
@ -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}/) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user