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
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -71,6 +71,6 @@ func main() {
if err := app.Run(os.Args); err != nil {
log.Warn(err)
return
os.Exit(1)
}
}
+1
View File
@@ -69,6 +69,7 @@ func main() {
Message: err.Error(),
})
log.Warn(err)
os.Exit(1)
}
return
}