mirror of https://github.com/ARMmbed/mbed-os.git
Adding a proper exit return code on a toolchain failure
parent
7996649d96
commit
5b36a4cfd0
|
@ -291,3 +291,5 @@ if __name__ == '__main__':
|
||||||
traceback.print_exc(file=sys.stdout)
|
traceback.print_exc(file=sys.stdout)
|
||||||
else:
|
else:
|
||||||
print "[ERROR] %s" % str(e)
|
print "[ERROR] %s" % str(e)
|
||||||
|
|
||||||
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue