Fix mysql mode compil error

This commit is contained in:
garnier-quentin 2014-04-06 12:47:48 +02:00
parent 1a03388b24
commit 4657af841e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {