1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00
restic/changelog/unreleased/pull-4884

12 lines
480 B
Text
Raw Normal View History

2024-07-22 22:19:22 +00:00
Change: Return exit code 10 and 11 for non-existing and locked repository
2024-06-30 17:25:48 +00:00
2024-07-22 22:19:22 +00:00
If a repository does not exist or cannot be locked, restic previously always
returned exit code 1. This made it difficult to distinguish these cases from
other errors.
2024-06-30 17:25:48 +00:00
2024-07-22 22:19:22 +00:00
Restic now returns exit code 10 if the repository does not exist, and exit code
2024-06-30 17:25:48 +00:00
11 if the repository could be not locked due to a conflicting lock.
https://github.com/restic/restic/issues/956
https://github.com/restic/restic/pull/4884