diff options
| author | Luke Kanies <luke@madstop.com> | 2005-04-14 04:16:58 +0000 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2005-04-14 04:16:58 +0000 |
| commit | 585c4fc91e62970b341826aa56e87d1f86b58847 (patch) | |
| tree | 599d098014f7dd6b6c4883c8d994efd5ef4d8b8e /examples/root/etc/init.d | |
| parent | 61f8434a7d3dd3142ac2443a6125397b996b5ade (diff) | |
| download | puppet-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/etc/init.d')
| -rwxr-xr-x | examples/root/etc/init.d/sleeper | 7 |
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 |
