From 1aaef288a76573876c89ec3afd2475598ad3e1e9 Mon Sep 17 00:00:00 2001 From: Sebastian Choren Date: Thu, 15 Feb 2024 19:41:56 -0300 Subject: [PATCH] fix exit --- cli/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/root.go b/cli/cmd/root.go index 118a753e67..b73ad1d65f 100644 --- a/cli/cmd/root.go +++ b/cli/cmd/root.go @@ -36,7 +36,7 @@ func Execute() { func handleRootExecErr(err error) { if err == nil { - return + ExitCLI(0) } fmt.Fprintln(os.Stderr, err)