diff options
Diffstat (limited to 'fuel/deploy/common.py')
-rw-r--r-- | fuel/deploy/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fuel/deploy/common.py b/fuel/deploy/common.py index 2a8c0d149..cdc54b43a 100644 --- a/fuel/deploy/common.py +++ b/fuel/deploy/common.py @@ -7,6 +7,7 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################### + import subprocess import sys import os @@ -43,7 +44,7 @@ def exec_cmd(cmd, check=True): return_code = process.returncode if check: if return_code > 0: - err(response) + raise Exception(response) else: return response return response, return_code |