mirror of
https://github.com/restic/restic.git
synced 2026-05-29 13:25:24 +00:00
c6fd13425b
This ensures that restic won't create lots of new lock files without deleting them later on. In some cases a Delete operation on a backend can return a "File does not exist" error even though the Delete operation succeeded. This can for example be caused by request retries. This caused restic to forget about the new lock file and continue trying to remove the old (already deleted) lock file.