From 96cb6b6584ca2e4d8af53e2a9290470758eef925 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Fri, 29 Aug 2014 10:21:19 +0200 Subject: [PATCH] + Fix pacemaker script --- 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 cd61744b7..09055a379 100644 --- a/apps/pacemaker/local/mode/crm.pm +++ b/apps/pacemaker/local/mode/crm.pm @@ -123,7 +123,7 @@ sub parse_output { # Check Master/Slave stopped $self->{output}->output_add(severity => $self->{threshold}, short_msg => "$1 Stopped"); - } elsif ($line =~ /^Failed actions\:/) { && !defined($self->{option_results}->{ignore_failed_actions})) { + } elsif ($line =~ /^Failed actions\:/) { # Check Failed Actions my $skip = 0; foreach ($self->{option_results}->{ignore_failed_actions}) {