mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
correct { error
This commit is contained in:
parent
bc75ec5777
commit
3daefa80c7
@ -106,7 +106,7 @@ sub check_options {
|
|||||||
$self->{option_results}->{timeout} > 0) {
|
$self->{option_results}->{timeout} > 0) {
|
||||||
alarm($self->{option_results}->{timeout});
|
alarm($self->{option_results}->{timeout});
|
||||||
}
|
}
|
||||||
if (!defined($self->{option_results}->{scenario}))
|
if (!defined($self->{option_results}->{scenario})) {
|
||||||
$self->{output}->add_option_msg(short_msg => "Please specify a scenario name" . $self->{option_results}->{scenario} . "'.");
|
$self->{output}->add_option_msg(short_msg => "Please specify a scenario name" . $self->{option_results}->{scenario} . "'.");
|
||||||
$self->{output}->option_exit();
|
$self->{output}->option_exit();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user