Skip to content

Commit

Permalink
Fix error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
haccht committed Nov 9, 2023
1 parent 66040c9 commit 58afc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func run() error {
if fe, ok := err.(*flags.Error); ok && fe.Type == flags.ErrHelp {
os.Exit(0)
}
return err
os.Exit(1)
}

readers := make([]io.Reader, 0, len(args)+1)
Expand Down

0 comments on commit 58afc4c

Please sign in to comment.