mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-25 22:55:15 +02:00
commit
e0514469fd
@ -56,7 +56,7 @@ sub check_options {
|
|||||||
$self->SUPER::init(%options);
|
$self->SUPER::init(%options);
|
||||||
if (!defined($self->{option_results}->{foxbox_password})) {
|
if (!defined($self->{option_results}->{foxbox_password})) {
|
||||||
$self->{output}
|
$self->{output}
|
||||||
->add_option_msg(short_msg => "You need to set --foxbox-username= and --foxbox-password option");
|
->add_option_msg(short_msg => "You need to set --foxbox-username and --foxbox-password options");
|
||||||
$self->{output}->option_exit();
|
$self->{output}->option_exit();
|
||||||
}
|
}
|
||||||
if (!defined($self->{option_results}->{phonenumber})) {
|
if (!defined($self->{option_results}->{phonenumber})) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user