Fixed non-verbose hm error returns code 0

This commit is contained in:
Nick Bolton 2010-06-15 22:46:03 +00:00
parent 755cb80254
commit ad7b4a92fc
1 changed files with 1 additions and 0 deletions

1
hm.py
View File

@ -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