Revision d38bdeb7

b/snf-deploy/snfdeploy/__init__.py
284 284
  print(fabcmd)
285 285

  
286 286
  if not args.dry_run:
287
    sys.exit(os.system(fabcmd))
287
    ret = os.system(fabcmd)
288
    if ret != 0:
289
        print "exit with status %s" % ret
290
        sys.exit(ret)
288 291

  
289 292

  
290 293
def cluster(args, env):

Also available in: Unified diff