diff options
author | John A. Barbuto <jbarbuto@corp.sourceforge.com> | 2009-09-03 12:16:50 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-09-04 07:50:06 +1000 |
commit | 1a3d0c876121561173c485b2e4d0dd7131f43eab (patch) | |
tree | 774d4259917fb47a14a502b8b5392a452fc23583 /conf | |
parent | 8dabc72dd016aa24a86311c81049793eb139ccce (diff) | |
download | puppet-1a3d0c876121561173c485b2e4d0dd7131f43eab.tar.gz puppet-1a3d0c876121561173c485b2e4d0dd7131f43eab.tar.xz puppet-1a3d0c876121561173c485b2e4d0dd7131f43eab.zip |
Fixed #2593: puppet init script status command not returning proper exit code
Signed-off-by: John A. Barbuto <jbarbuto@corp.sourceforge.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/redhat/client.init | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/redhat/client.init b/conf/redhat/client.init index 401151c83..a14444fe0 100644 --- a/conf/redhat/client.init +++ b/conf/redhat/client.init @@ -65,6 +65,8 @@ restart() { rh_status() { status | grep -q -- '-p' 2>/dev/null && statusopts="-p $pidfile" status $statusopts $puppetd + RETVAL=$? + return $RETVAL } rh_status_q() { |