mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
+ mode filescounts plugin ftp: enhance to work IIS Ftp
This commit is contained in:
parent
24539c87c4
commit
b19e46ee0b
@ -158,7 +158,7 @@ sub countFiles {
|
||||
next;
|
||||
}
|
||||
|
||||
if ($rights =~ /^d/i) {
|
||||
if ($rights =~ /^(d|<DIR>)/i) {
|
||||
if (defined($self->{option_results}->{max_depth}) && $level + 1 <= $self->{option_results}->{max_depth}) {
|
||||
push @$list, { name => $name, level => $level + 1};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user