mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-23 03:17:37 +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:
|
||||
# print friendly error for users
|
||||
print 'Error:',ex
|
||||
exit(1)
|
||||
else:
|
||||
# if user wants to be verbose let python do it's thing
|
||||
raise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue