From a2270c54d1ddc924d66e5d98bdb04af5b575cd0f Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Wed, 9 Apr 2014 09:34:13 +0200 Subject: [PATCH] Fix #5461 --- centreon/plugins/perfdata.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/plugins/perfdata.pm b/centreon/plugins/perfdata.pm index 7f9e0d803..3b832d358 100644 --- a/centreon/plugins/perfdata.pm +++ b/centreon/plugins/perfdata.pm @@ -93,7 +93,7 @@ sub threshold_check { next if (!defined($self->{threshold_label}->{$_->{label}}->{value}) || $self->{threshold_label}->{$_->{label}}->{value} eq ''); if ($self->{threshold_label}->{$_->{label}}->{arobase} == 0 && ($options{value} < $self->{threshold_label}->{$_->{label}}->{start} || $options{value} > $self->{threshold_label}->{$_->{label}}->{end})) { return $_->{exit_litteral}; - } elsif ($self->{threshold_label}->{$_->{label}}->{arobase} == 1 && ($options{value} >= $self->{threshold_label}->{$_->{label}}->{end} && $options{value} <= $self->{threshold_label}->{$_->{label}}->{end})) { + } elsif ($self->{threshold_label}->{$_->{label}}->{arobase} == 1 && ($options{value} >= $self->{threshold_label}->{$_->{label}}->{start} && $options{value} <= $self->{threshold_label}->{$_->{label}}->{end})) { return $_->{exit_litteral}; } }