Permalink
Browse files

build.py: exit with error code 1 on abort/errors

I can't believe I was exiting with 0, haha!
I must never experience errors.

Signed-off-by: James Christopher Adduono <jc@adduono.com>
  • Loading branch information...
jcadduono committed Nov 18, 2017
1 parent ef21733 commit 06f08516c4259b466cc6a10ddc681a67cdb8c803
Showing with 1 addition and 1 deletion.
  1. +1 −1 nethunter-installer/build.py
@@ -431,7 +431,7 @@ def done():
def abort(err):
print('Error: ' + err)
cleanup(True)
exit(0)
exit(1)

def setuparch():
global Arch

0 comments on commit 06f0851

Please sign in to comment.