2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-01 16:40:50 +00:00

Ignore files with invalid name in the repo

This commit is contained in:
Alexander Neumann 2017-09-10 11:00:07 +02:00
parent 36e70228f2
commit e846e14965

View File

@ -68,7 +68,7 @@ func ParallelWorkFuncParseID(f ParallelIDWorkFunc) ParallelWorkFunc {
id, err := restic.ParseID(s)
if err != nil {
debug.Log("invalid ID %q: %v", id, err)
return err
return nil
}
return f(ctx, id)