mirror of
https://github.com/danog/gllvm.git
synced 2024-11-30 07:28:58 +01:00
get-bc: exit with Extract()'s exit code
This commit is contained in:
parent
3a0cea8f37
commit
d235e663df
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user