2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-23 07:08:28 +00:00
restic/internal
Alexander Neumann d8dcbc89d1 lock: Ignore invalid lock file
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
2018-03-05 20:19:57 +01:00
..
2018-03-03 15:49:44 +01:00
2018-03-03 15:49:44 +01:00
2018-03-03 15:49:44 +01:00
2018-03-04 20:11:29 +00:00
2017-07-23 14:19:13 +02:00
2018-03-03 15:49:44 +01:00
2018-01-23 22:39:51 -05:00
2018-03-03 15:49:44 +01:00
2018-03-03 15:49:44 +01:00
2017-10-25 12:03:55 -04:00
2018-03-03 15:49:44 +01:00
2018-03-05 20:19:57 +01:00
2017-07-23 14:21:03 +02:00