diff options
Diffstat (limited to 'contrib/caldera/sshd.init')
-rwxr-xr-x | contrib/caldera/sshd.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/caldera/sshd.init b/contrib/caldera/sshd.init index e60f8afeb..90b36379a 100755 --- a/contrib/caldera/sshd.init +++ b/contrib/caldera/sshd.init | |||
@@ -1,6 +1,6 @@ | |||
1 | #! /bin/bash | 1 | #! /bin/bash |
2 | # | 2 | # |
3 | # $Id: sshd.init,v 1.2 2001/04/27 05:50:50 tim Exp $ | 3 | # $Id: sshd.init,v 1.3 2001/11/03 19:09:33 tim Exp $ |
4 | # | 4 | # |
5 | ### BEGIN INIT INFO | 5 | ### BEGIN INIT INFO |
6 | # Provides: | 6 | # Provides: |
@@ -37,7 +37,7 @@ _status() { | |||
37 | if [ ! -e $SVIlock ]; then | 37 | if [ ! -e $SVIlock ]; then |
38 | # no lock-file => not started == stopped? | 38 | # no lock-file => not started == stopped? |
39 | ret=3 | 39 | ret=3 |
40 | elif { [ -n "$pidf" ] && [ ! -f "$pidf" ] } || [ -z "$pid" ]; then | 40 | elif [ -n "$pidf" -a ! -f "$pidf" ] || [ -z "$pid" ]; then |
41 | # pid-file given but not present or no pid => died, but was not stopped | 41 | # pid-file given but not present or no pid => died, but was not stopped |
42 | ret=2 | 42 | ret=2 |
43 | elif [ -r /proc/$pid/cmdline ] && | 43 | elif [ -r /proc/$pid/cmdline ] && |