Skip to content

Commit

Permalink
bug(plugins) plugin now check recursively folders.
Browse files Browse the repository at this point in the history
REF:CTOR-258
  • Loading branch information
Evan-Adam committed Apr 30, 2024
1 parent 5d88c7c commit ac16028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/protocols/cifs/mode/filescount.pm
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ sub countFiles {
next if ($file->[1] eq '.' || $file->[1] eq '..');

my $name = $dir . '/' . $file->[1];

if (defined($self->{option_results}->{filter_file}) && $self->{option_results}->{filter_file} ne '' &&
$name !~ /$self->{option_results}->{filter_file}/) {
$name !~ /$self->{option_results}->{filter_file}/ && $file->[0] != SMBC_DIR) {
$self->{output}->output_add(long_msg => sprintf("skipping '%s'", $name), debug => 1);
next;
}
Expand Down

0 comments on commit ac16028

Please sign in to comment.