summaryrefslogtreecommitdiff
path: root/contrib/caldera/sshd.init
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2001-11-03 11:09:32 -0800
committerTim Rice <tim@multitalents.net>2001-11-03 11:09:32 -0800
commite589a299a1c1cf26035cddf3996107500242ba1d (patch)
tree9023b8d5300eab10dde2718cd03db0f7620ac536 /contrib/caldera/sshd.init
parent14a5c99b5c84ab86b34baf4b9e8f454118164815 (diff)
[ contrib/caldera/openssh.spec contrib/caldera/sshd.init]V_3_0_P1
Updates from Raymund Will <ray@caldera.de> [acconfig.h configure.in] Clean up login checks. Problem reported by Jim Knoble <jmknoble@pobox.com>
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 ] &&