mirror of
https://github.com/restic/restic.git
synced 2026-09-29 07:20:30 +00:00
return exit code 11 if the repository could not be locked
This commit is contained in:
@@ -36,6 +36,7 @@ EXIT STATUS
|
||||
|
||||
Exit status is 0 if the command was successful.
|
||||
Exit status is 1 if there was any error.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
`,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return runCopy(cmd.Context(), copyOptions, globalOptions, args)
|
||||
|
||||
Reference in New Issue
Block a user