Exit 1 on error

This commit is contained in:
whyrusleeping 2019-11-12 15:36:49 -08:00
parent 8ecc087ffb
commit e1cb19da0a
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,6 @@ func main() {
if err := app.Run(os.Args); err != nil {
log.Warn(err)
return
os.Exit(1)
}
}

View File

@ -69,6 +69,7 @@ func main() {
Message: err.Error(),
})
log.Warn(err)
os.Exit(1)
}
return
}