From 7d30e7fb13773fec574cf036ce5f2dd7623ac33c Mon Sep 17 00:00:00 2001 From: Carson Reinke Date: Mon, 29 Jun 2020 14:56:22 -0400 Subject: [PATCH] Add exit code when terminating with an error --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 0b69916..5824007 100644 --- a/main.go +++ b/main.go @@ -145,5 +145,6 @@ func main() { err := process(downloader) if err != nil { log.Println(err) + os.Exit(1) } }