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