From ecd68d5fa6075965a590aaf63e0cc41abf8a635c Mon Sep 17 00:00:00 2001 From: Matheus Pimenta Date: Sun, 17 Nov 2024 13:20:50 +0000 Subject: [PATCH] chore: fix commands exit code (#263) Signed-off-by: Matheus Pimenta --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index c15db6e..9cf5cbc 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -87,7 +87,7 @@ func main() { "Log level. Accepted values: "+acceptedLogLevels) if err := rootCmd.Execute(); err != nil { - os.Exit(-1) + os.Exit(1) } }