forked from TrueCloudLab/restic
Ignore files with invalid name in the repo
This commit is contained in:
parent
36e70228f2
commit
e846e14965
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue