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

pull/3/head
Michael DeHaan 14 years ago
parent d308254eae
commit bfd93081ae

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

Loading…
Cancel
Save