mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 05:40:14 -05:00
Apply filters also to empty dir
Doesn't always include them when using filter options.
This commit is contained in:
parent
69efbf264a
commit
32a57a5808
5 changed files with 26 additions and 13 deletions
|
|
@ -1369,7 +1369,7 @@ static int scan_dir(struct snapraid_scan* scan, int level, int is_diff, const ch
|
|||
msg_verbose("Excluding link '%s' for rule '%s'\n", path_next, filter_type(reason, out, sizeof(out)));
|
||||
}
|
||||
} else if (type == 2) { /* DIR */
|
||||
if (filter_dir(&state->filterlist, &reason, disk->name, sub_next) == 0) {
|
||||
if (filter_subdir(&state->filterlist, &reason, disk->name, sub_next) == 0) {
|
||||
#ifndef _WIN32
|
||||
/* late stat, if not yet called */
|
||||
if (!st)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue