return exit code 11 if the repository could not be locked

This commit is contained in:
Michael Eischer committed 2024-07-10 21:37:32 +02:00
1 parent 3b7228c8c1
commit d76a78aa99
29 files changed
+30

No files matched your search

+1
View File
@@ -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.
`,
DisableAutoGenTag: true,
RunE: func(cmd *cobra.Command, args []string) error {