Have to return the return code on failure, it's a rule!

reviewable/pr18780/r1
Michael DeHaan 13 years ago
parent 93a0cf0be4
commit 30bc528091

@ -73,7 +73,8 @@ if changed:
if rc != 0: if rc != 0:
# yeah, should probably include output of failure... # yeah, should probably include output of failure...
print json.dumps({ print json.dumps({
"failed" : 1 "failed" : 1,
"rc" : rc
}) })
sys.exit(1) sys.exit(1)

Loading…
Cancel
Save