mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-26 04:47:34 +02:00
Fixed non-verbose hm error returns code 0
This commit is contained in:
parent
755cb80254
commit
ad7b4a92fc
1 changed files with 1 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue