Merge pull request #589 from filecoin-project/fix/exit-codes

Exit 1 on error
This commit is contained in:
Whyrusleeping 2019-11-13 08:54:15 +09:00 committed by GitHub
commit 745df10bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}