get-bc: exit with Extract()'s exit code

This commit is contained in:
William Woodruff 2020-08-04 10:22:40 -04:00
parent 3a0cea8f37
commit d235e663df
No known key found for this signature in database
GPG Key ID: 70F70A3979DDCED3

View File

@ -42,11 +42,9 @@ func main() {
// Parse command line
var args = os.Args
shared.Extract(args)
exitCode := shared.Extract(args)
shared.LogInfo("Calling %v DID NOT TELL US WHAT HAPPENED\n", os.Args)
// could be more honest about our success here
os.Exit(0)
os.Exit(exitCode)
}