mirror of https://github.com/restic/restic.git
Ignore files with invalid name in the repo
This commit is contained in:
parent
36e70228f2
commit
e846e14965
|
@ -68,7 +68,7 @@ func ParallelWorkFuncParseID(f ParallelIDWorkFunc) ParallelWorkFunc {
|
||||||
id, err := restic.ParseID(s)
|
id, err := restic.ParseID(s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
debug.Log("invalid ID %q: %v", id, err)
|
debug.Log("invalid ID %q: %v", id, err)
|
||||||
return err
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return f(ctx, id)
|
return f(ctx, id)
|
||||||
|
|
Loading…
Reference in New Issue