mirror of
https://github.com/octoleo/restic.git
synced 2025-02-02 20:08:25 +00:00
add exit code changelog
This commit is contained in:
parent
54ca27a6f2
commit
36cc62075c
11
changelog/unreleased/pull-4884
Normal file
11
changelog/unreleased/pull-4884
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Change: return exit code 10 or 11 if repository does not exist or is locked
|
||||||
|
|
||||||
|
If a repository does not exist or cannot be locked, then restic always returned
|
||||||
|
exit code 1. This made it difficult to distinguish these cases from other
|
||||||
|
errors.
|
||||||
|
|
||||||
|
Now, restic returns exit code 10 if the repository does not exist and exit code
|
||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user