Fix mysql mode compil error

This commit is contained in:
qgarnier 2014-04-06 12:47:48 +02:00
parent 24e85d7c24
commit 47cff025dc
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) {