restic/changelog/unreleased/issue-1106
Michael Eischer 7af69fd7b9 list: Never lock the repository when listing lock files
There's no point in locking the repository just to list the currently
existing lock files. This won't work for an exclusively locked
repository and is also confusing to users.
2022-03-06 21:44:51 +01:00

10 lines
428 B
Text

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 cnever locks the repository.
https://github.com/restic/restic/issues/1106
https://github.com/restic/restic/pull/3665