Commit bfd93081 by Michael DeHaan

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

parent d308254e
......@@ -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)
......
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