mirror of
https://github.com/octoleo/restic.git
synced 2025-01-23 07:08:28 +00:00
d8dcbc89d1
This commit fixes a bug introduced in e9ea26884739a218bbab0248b634d2821be9c3ea: When an invalid lock is encountered (e.g. if the file is empty), the code used to ignore that, but now returns the error. Now, invalid files are ignored for the normal lock check, and removed when `restic unlock --remove-all` is run. Closes #1652