Skip to content

Commit

Permalink
main: exit with non-0 on error
Browse files Browse the repository at this point in the history
  • Loading branch information
zllovesuki committed Mar 31, 2024
1 parent e870dc3 commit 4a0a182
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ func main() {

if err := specter.App.RunContext(ctx, os.Args); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}

0 comments on commit 4a0a182

Please sign in to comment.