mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
Fix check_options call
This commit is contained in:
parent
1b91897ae0
commit
f6414abdb8
@ -66,7 +66,7 @@ sub new {
|
||||
|
||||
sub check_options {
|
||||
my ($self, %options) = @_;
|
||||
$self->SUPER::init(%options);
|
||||
$self->SUPER::check_options(%options);
|
||||
|
||||
if (!defined($self->{option_results}->{blade_id}) || $self->{option_results}->{blade_id} eq '') {
|
||||
$self->{output}->add_option_msg(short_msg => "Please set --blade-id option.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user