From ad7b4a92fc99730ca14fb58dda2c772764a47a39 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 15 Jun 2010 22:46:03 +0000 Subject: [PATCH] Fixed non-verbose hm error returns code 0 --- hm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hm.py b/hm.py index 59ecbc84..a5a12dbc 100644 --- a/hm.py +++ b/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