mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
modif
This commit is contained in:
parent
ce1507efa7
commit
c0983435f1
@ -40,7 +40,6 @@ use base qw(centreon::plugins::mode);
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use XML::LibXML;
|
use XML::LibXML;
|
||||||
use Data::Dumper;
|
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
my ($class, %options) = @_;
|
my ($class, %options) = @_;
|
||||||
@ -60,8 +59,6 @@ sub new {
|
|||||||
sub check_options {
|
sub check_options {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
$self->SUPER::init(%options);
|
$self->SUPER::init(%options);
|
||||||
print $self->{option_results}->{config_path};
|
|
||||||
print Dumper(\$self);
|
|
||||||
if ($self->{option_results}->{config_path} !~ /\/$/) {
|
if ($self->{option_results}->{config_path} !~ /\/$/) {
|
||||||
$self->{output}->add_option_msg(short_msg => "Please set the last / the path to your config-path option");
|
$self->{output}->add_option_msg(short_msg => "Please set the last / the path to your config-path option");
|
||||||
$self->{output}->option_exit();
|
$self->{output}->option_exit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user