From 945bb723eda957786fb6c842033814fadc78ac6a Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 12 Oct 2020 17:21:38 +0300 Subject: [PATCH] [#76] Do not print error message twice in CLI Signed-off-by: Alex Vanin --- cmd/neofs-cli/modules/root.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/neofs-cli/modules/root.go b/cmd/neofs-cli/modules/root.go index ba0a1355b8..58d781e179 100644 --- a/cmd/neofs-cli/modules/root.go +++ b/cmd/neofs-cli/modules/root.go @@ -44,7 +44,6 @@ var ( // This is called by main.main(). It only needs to happen once to the rootCmd. func Execute() { if err := rootCmd.Execute(); err != nil { - fmt.Println(err) os.Exit(1) } }