From e6cebd4f96fb01ebc3c758342aacbc6a49bfc6f7 Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Fri, 2 Jun 2023 18:30:53 +0200 Subject: [PATCH] Exit 1 on error (#12) --- cmd/git-pair/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/git-pair/main.go b/cmd/git-pair/main.go index d4fda44..c9ac123 100644 --- a/cmd/git-pair/main.go +++ b/cmd/git-pair/main.go @@ -58,6 +58,7 @@ func main() { if err := app.Run(os.Args); err != nil { fmt.Println(err) + os.Exit(1) } }