Have to return the return code on failure, it's a rule!
This commit is contained in:
parent
93a0cf0be4
commit
30bc528091
1 changed files with 2 additions and 1 deletions
3
service
3
service
|
@ -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…
Reference in a new issue