Merge pull request #3665 from MichaelEischer/sane-list-locks

list: Never lock the repository when listing lock files
This commit is contained in:
Alexander Neumann authored and GitHub committed 2022-03-21 11:14:44 +01:00
commit ca1e2316cf
2 files changed
+11 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
Bugfix: Never lock repository for `list locks`
The `list locks` command previously locked to the repository by default. This
has the problem that it won't work for an exclusively locked repository and
that the command will also display its own lock file which can be confusing.
Now, the `list locks` command never locks the repository.
https://github.com/restic/restic/issues/1106
https://github.com/restic/restic/pull/3665