Fixed non-verbose hm error returns code 0
This commit is contained in:
parent
755cb80254
commit
ad7b4a92fc
1
hm.py
1
hm.py
|
@ -155,6 +155,7 @@ def run_cmd(cmd, argv = []):
|
||||||
if not verbose:
|
if not verbose:
|
||||||
# print friendly error for users
|
# print friendly error for users
|
||||||
print 'Error:',ex
|
print 'Error:',ex
|
||||||
|
exit(1)
|
||||||
else:
|
else:
|
||||||
# if user wants to be verbose let python do it's thing
|
# if user wants to be verbose let python do it's thing
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in New Issue