From 47cff025dc7fed51f6380bb82a19d86e1c45ce91 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Sun, 6 Apr 2014 12:47:48 +0200 Subject: [PATCH] Fix mysql mode compil error --- database/mysql/mode/databasessize.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mysql/mode/databasessize.pm b/database/mysql/mode/databasessize.pm index b218222c7..50fad0583 100644 --- a/database/mysql/mode/databasessize.pm +++ b/database/mysql/mode/databasessize.pm @@ -61,7 +61,7 @@ sub check_options { $self->SUPER::init(%options); if (($self->{perfdata}->threshold_validate(label => 'warning', value => $self->{option_results}->{warning})) == 0) { - $self->{output}->add_option_msg(short_msg => "Wrong warning threshold '" . $self->{option_results}->{warning})) . "'."); + $self->{output}->add_option_msg(short_msg => "Wrong warning threshold '" . $self->{option_results}->{warning} . "'."); $self->{output}->option_exit(); } if (($self->{perfdata}->threshold_validate(label => 'critical', value => $self->{option_results}->{critical})) == 0) {