aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-06 17:31:09 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-06 17:31:09 +0200
commit6f1767d101ad210ba0311b8e828140da32fbcafe (patch)
treefbe926e3bedccf5379e4a78b61bb6f12b0d5cf27
parent453ae85757abfefc444426ce81159c641611afa3 (diff)
downloadgit-bug-6f1767d101ad210ba0311b8e828140da32fbcafe.tar.gz
cmds: only print once the error
-rw-r--r--commands/root.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/root.go b/commands/root.go
index 62351055..77d0fcef 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)
}
}