Merge branch 'master' of http://git.centreon.com/centreon-plugins
This commit is contained in:
commit
1d3ffe5c9f
|
@ -106,6 +106,11 @@ sub check_options {
|
|||
$self->{option_results}->{timeout} > 0) {
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue