From fdb8c97f6b10004555f7af9f2d477f9fead34202 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Wed, 21 Dec 2022 11:58:51 +0100 Subject: [PATCH] Exit with non-zero status on errors (#148) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d089e211..472f49ba 100644 --- a/main.go +++ b/main.go @@ -15,5 +15,5 @@ import ( ) func main() { - root.RootCmd.Execute() + root.Execute() }