1Bugfix: Handle errors listing files in the backend
2
3A user reported in the forum that restic completes a backup although a
4concurrent `prune` operation was running. A few error messages were printed,
5but the backup was attempted and completed successfully. No error code was
6returned.
7
8This should not happen: The repository is exclusively locked during `prune`, so
9when `restic backup` is run in parallel, it should abort and return an error
10code instead.
11
12It was found that the bug was in the code introduced only recently, which
13retries a List() operation on the backend should that fail. It is now corrected.
14
15https://github.com/restic/restic/pull/1638
16https://forum.restic.net/t/restic-backup-returns-0-exit-code-when-already-locked/484
17