Skip to content

Commit

Permalink
fix:[#159] exit with generic error 1 if error detected
Browse files Browse the repository at this point in the history
  • Loading branch information
jardon committed Dec 7, 2024
1 parent 5d76cc3 commit d5eac04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ package main

import (
"embed"
"os"

"github.com/vanilla-os/apx/v2/core"
"github.com/vanilla-os/apx/v2/settings"
Expand Down Expand Up @@ -74,5 +75,6 @@ func main() {
err := vso.Run()
if err != nil {
cmdr.Error.Println(err)
os.Exit(1)
}
}

0 comments on commit d5eac04

Please sign in to comment.