summaryrefslogtreecommitdiffstats
path: root/examples/root
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-04-14 04:16:58 +0000
committerLuke Kanies <luke@madstop.com>2005-04-14 04:16:58 +0000
commit585c4fc91e62970b341826aa56e87d1f86b58847 (patch)
tree599d098014f7dd6b6c4883c8d994efd5ef4d8b8e /examples/root
parent61f8434a7d3dd3142ac2443a6125397b996b5ade (diff)
downloadpuppet-585c4fc91e62970b341826aa56e87d1f86b58847.tar.gz
puppet-585c4fc91e62970b341826aa56e87d1f86b58847.tar.xz
puppet-585c4fc91e62970b341826aa56e87d1f86b58847.zip
cleaning up the start script
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@146 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'examples/root')
-rwxr-xr-xexamples/root/etc/init.d/sleeper7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/root/etc/init.d/sleeper b/examples/root/etc/init.d/sleeper
index 4b91a381b..bb3bb4eb7 100755
--- a/examples/root/etc/init.d/sleeper
+++ b/examples/root/etc/init.d/sleeper
@@ -16,12 +16,7 @@ case "$1" in
;;
status)
output=`ps -ef | grep -v grep | grep -v init.d | grep sleeper`
- retvalue=$?
- if [ -n "$output" ]; then
- exit 0
- else
- exit 1
- fi
+ exit $?
;;
*)
echo "Usage: $N {start|stop|restart|force-reload}" >&2