From 6f1767d101ad210ba0311b8e828140da32fbcafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Thu, 6 Sep 2018 17:31:09 +0200 Subject: [PATCH] cmds: only print once the error --- commands/root.go | 1 - 1 file changed, 1 deletion(-) diff --git a/commands/root.go b/commands/root.go index 62351055099e46c7c299f95cac86284a75cc0f5e..77d0fcef57927a83b757846433e2c374d8c2c966 100644 --- a/commands/root.go +++ b/commands/root.go @@ -44,7 +44,6 @@ _git_bug() { func Execute() { if err := RootCmd.Execute(); err != nil { - fmt.Println(err) os.Exit(1) } }