mirror of
https://github.com/restic/restic.git
synced 2026-06-26 02:24:18 +00:00
return exit code 11 if the repository could not be locked
This commit is contained in:
@@ -41,6 +41,7 @@ EXIT STATUS
|
||||
Exit status is 0 if the command was successful.
|
||||
Exit status is 1 if there was a fatal error (no snapshot created).
|
||||
Exit status is 3 if some source data could not be read (incomplete snapshot created).
|
||||
Exit status is 11 if the repository is already locked.
|
||||
`,
|
||||
PreRun: func(_ *cobra.Command, _ []string) {
|
||||
if backupOptions.Host == "" {
|
||||
|
||||
Reference in New Issue
Block a user