Merge pull request #589 from filecoin-project/fix/exit-codes
Exit 1 on error
This commit is contained in:
commit
745df10bec
@ -71,6 +71,6 @@ func main() {
|
||||
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
log.Warn(err)
|
||||
return
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
@ -69,6 +69,7 @@ func main() {
|
||||
Message: err.Error(),
|
||||
})
|
||||
log.Warn(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user