Skip to content

Commit

Permalink
set exit flag 1 on error
Browse files Browse the repository at this point in the history
  • Loading branch information
piranha committed Sep 4, 2014
1 parent a3f1f90 commit 9d6be23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goreplace.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func main() {

args, err := argparser.Parse()
if err != nil {
return
os.Exit(1)
}

if opts.ShowVersion {
Expand Down

0 comments on commit 9d6be23

Please sign in to comment.