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)