diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-06 17:31:09 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-06 17:31:09 +0200 |
commit | 6f1767d101ad210ba0311b8e828140da32fbcafe (patch) | |
tree | fbe926e3bedccf5379e4a78b61bb6f12b0d5cf27 | |
parent | 453ae85757abfefc444426ce81159c641611afa3 (diff) | |
download | git-bug-6f1767d101ad210ba0311b8e828140da32fbcafe.tar.gz |
cmds: only print once the error
-rw-r--r-- | commands/root.go | 1 |
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) } } |