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:
Wolfgang Bumiller 2020-07-09 14:06:41 +02:00
parent e284073e4a
commit bf7e2a4648

View File

@ -161,7 +161,7 @@ where
if skip_lost_and_found {
patterns.push(MatchEntry::parse_pattern(
"**/lost+found",
"lost+found",
PatternFlag::PATH_NAME,
MatchType::Exclude,
)?);