From e3b050087570d802fb5493d6405ec34159c31260 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 30 Dec 2024 18:05:26 +0100 Subject: [PATCH] fix: dont output error twice --- cli/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/run.go b/cli/run.go index 0ae0159c..e6b31448 100644 --- a/cli/run.go +++ b/cli/run.go @@ -190,6 +190,6 @@ func Run(version, commit string) { ) if err := rootCmd.Execute(); err != nil { - log.Fatal(err) + os.Exit(1) } }