From d5eac04c1febcd6f4bcb066f38c3e46c36fe60db Mon Sep 17 00:00:00 2001 From: Jarred Wilson Date: Sat, 7 Dec 2024 17:12:28 +0000 Subject: [PATCH] fix:[#159] exit with generic error 1 if error detected --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index a21663e..2420ea6 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ package main import ( "embed" + "os" "github.com/vanilla-os/apx/v2/core" "github.com/vanilla-os/apx/v2/settings" @@ -74,5 +75,6 @@ func main() { err := vso.Run() if err != nil { cmdr.Error.Println(err) + os.Exit(1) } }