Skip to content

Commit

Permalink
Add exit code when terminating with an error
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonreinke committed Jun 29, 2020
1 parent 7a4f6d2 commit 7d30e7f
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 @@ -145,5 +145,6 @@ func main() {
err := process(downloader)
if err != nil {
log.Println(err)
os.Exit(1)
}
}

0 comments on commit 7d30e7f

Please sign in to comment.