Commit d7abb2ab authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

deploy: Exit with message and not with code

parent d16c2ae1
...@@ -286,8 +286,8 @@ autoconf={5},disable_colors={6},key_inject={7} \ ...@@ -286,8 +286,8 @@ autoconf={5},disable_colors={6},key_inject={7} \
if not args.dry_run: if not args.dry_run:
ret = os.system(fabcmd) ret = os.system(fabcmd)
if ret != 0: if ret != 0:
print "exit with status %s" % ret status = "exit with status %s" % ret
sys.exit(ret) sys.exit(status)
def cluster(args, env): def cluster(args, env):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment