simpler lost+found pattern
the **/ is not required and currently also mistakenly doesn't match /lost+found which is probably buggy on the pathpatterns crate side and needs fixing there Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
e284073e4a
commit
bf7e2a4648
@ -161,7 +161,7 @@ where
|
||||
|
||||
if skip_lost_and_found {
|
||||
patterns.push(MatchEntry::parse_pattern(
|
||||
"**/lost+found",
|
||||
"lost+found",
|
||||
PatternFlag::PATH_NAME,
|
||||
MatchType::Exclude,
|
||||
)?);
|
||||
|
Loading…
Reference in New Issue
Block a user