From 0f4de4fbe63d40e4f01ffc32455289cbbaba9856 Mon Sep 17 00:00:00 2001 From: lutter Date: Mon, 25 Jun 2007 17:17:45 +0000 Subject: Fix trac #684 - set exit code for status properly (patch by abnormaliti) git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2644 980ebf18-57e1-0310-9a29-db15c13687c0 --- conf/redhat/client.init | 1 + conf/redhat/server.init | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/redhat/client.init b/conf/redhat/client.init index a25f2b3d2..b63729aa3 100644 --- a/conf/redhat/client.init +++ b/conf/redhat/client.init @@ -80,6 +80,7 @@ case "$1" in ;; status) status $puppetd + RETVAL=$? ;; once) shift diff --git a/conf/redhat/server.init b/conf/redhat/server.init index 5e42c387f..6afcfa98b 100644 --- a/conf/redhat/server.init +++ b/conf/redhat/server.init @@ -78,6 +78,7 @@ case "$1" in ;; status) status $PUPPETMASTER + RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}" -- cgit