Merge branch 'master' of http://git.centreon.com/centreon-plugins
This commit is contained in:
commit
8f1b38ad7f
|
@ -106,6 +106,11 @@ 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})) {
|
||||||
|
$self->{output}->add_option_msg(short_msg => "Please specify a scenario name" . $self->{option_results}->{scenario} . ".");
|
||||||
|
$self->{output}->option_exit();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
|
|
Loading…
Reference in New Issue