From 30bc52809142a2711f8463146953dc7e86390f02 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! --- service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service b/service index 682d3b76f5d..4a20193d512 100755 --- a/service +++ b/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)