Typo
This commit is contained in:
Quentin Garnier 2014-09-12 14:40:24 +02:00
parent 141b90f2af
commit 3c231bdcb5
2 changed files with 31 additions and 31 deletions

View File

@ -29,7 +29,7 @@
# do not wish to do so, delete this exception statement from your version. # do not wish to do so, delete this exception statement from your version.
# #
# For more information : contact@centreon.com # For more information : contact@centreon.com
# Author : Quentin Garnier <qgarnier@merethis.com> # Author : Simon Bomm <sbomm@merethis.com>
# #
#################################################################################### ####################################################################################
@ -120,7 +120,7 @@ sub run {
value => $globalCount, value => $globalCount,
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning'), warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning'),
critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical'), critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical'),
); min => 0);
$self->{output}->display(); $self->{output}->display();
$self->{output}->exit(); $self->{output}->exit();
} }
@ -158,7 +158,7 @@ __END__
=head1 MODE =head1 MODE
Count files in an FTP directory, cab be recursive Count files in an FTP directory (can be recursive).
=over 8 =over 8

View File

@ -50,7 +50,7 @@ sub new {
'login' => 'apps::protocols::ftp::mode::login', 'login' => 'apps::protocols::ftp::mode::login',
'commands' => 'apps::protocols::ftp::mode::commands', 'commands' => 'apps::protocols::ftp::mode::commands',
'date' => 'apps::protocols::ftp::mode::date', 'date' => 'apps::protocols::ftp::mode::date',
'filescount'=> 'apps::protocols::ftp::mode::filescount', 'filescount' => 'apps::protocols::ftp::mode::filescount',
); );
return $self; return $self;
} }