diff --git a/main.go b/main.go index ae08ef193..36115789d 100644 --- a/main.go +++ b/main.go @@ -49,5 +49,6 @@ func RunCustom(args []string, commands map[string]cli.CommandFactory) int { fmt.Fprintf(os.Stderr, "Error executing CLI: %s\n", err.Error()) return 1 } + return exitCode }