mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
Merge branch 'master' of http://git.centreon.com/centreon-plugins
This commit is contained in:
commit
1872177a9e
@ -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…
x
Reference in New Issue
Block a user