mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
+ mode filescounts plugin ftp: enhance to work IIS Ftp
This commit is contained in:
parent
d8c2419c96
commit
f0a8d78d58
@ -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