From 17b39769ad5eddc3f4054613a8c9814d4a442b38 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Fri, 29 Aug 2014 10:50:25 +0200 Subject: [PATCH] Fix pacemaker --- apps/pacemaker/local/mode/crm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pacemaker/local/mode/crm.pm b/apps/pacemaker/local/mode/crm.pm index 09055a379..720bf7323 100644 --- a/apps/pacemaker/local/mode/crm.pm +++ b/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;