mirror of
https://github.com/restic/restic.git
synced 2026-05-28 04:35:41 -04:00
filter: correctly stop pattern validation on first invalid part (#21812)
This commit is contained in:
parent
a639b8d711
commit
ccfb31b5fa
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ func ValidatePatterns(patterns []string) error {
|
|||
invalidPatterns = append(invalidPatterns, Pattern.original)
|
||||
|
||||
// If a single part is invalid, stop processing this pattern
|
||||
continue
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue