diff --git a/apps/pacemaker/local/mode/crm.pm b/apps/pacemaker/local/mode/crm.pm index 85fbdd20e..a9efcd055 100644 --- a/apps/pacemaker/local/mode/crm.pm +++ b/apps/pacemaker/local/mode/crm.pm @@ -127,7 +127,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;