From bfd93081aeea7071406724c9f8a78c477d1d23cd Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 25 Feb 2012 21:00:51 -0500 Subject: [PATCH] Have to return the return code on failure, it's a rule! --- library/service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/service b/library/service index 682d3b76f5..4a20193d51 100755 --- a/library/service +++ b/library/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)