diff --git a/centreon-plugins/apps/pacemaker/local/mode/crm.pm b/centreon-plugins/apps/pacemaker/local/mode/crm.pm index 09055a379..720bf7323 100644 --- a/centreon-plugins/apps/pacemaker/local/mode/crm.pm +++ b/centreon-plugins/apps/pacemaker/local/mode/crm.pm @@ -126,7 +126,7 @@ sub parse_output { } elsif ($line =~ /^Failed actions\:/) { # Check Failed Actions my $skip = 0; - foreach ($self->{option_results}->{ignore_failed_actions}) { + foreach (@{$self->{option_results}->{ignore_failed_actions})} { if ($line =~ /$_/) { $skip = 1; last;