summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/redhat/sshd.init9
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/redhat/sshd.init b/contrib/redhat/sshd.init
index 487d12897..a30d48065 100755
--- a/contrib/redhat/sshd.init
+++ b/contrib/redhat/sshd.init
@@ -57,9 +57,14 @@ case "$1" in
57 57
58 echo -n "Starting sshd: " 58 echo -n "Starting sshd: "
59 if [ ! -f $PID_FILE ] ; then 59 if [ ! -f $PID_FILE ] ; then
60 daemon sshd 60 sshd
61 RETVAL=$? 61 RETVAL=$?
62 touch /var/lock/subsys/sshd 62 if [ "$RETVAL" = "0" ] ; then
63 success "sshd startup"
64 touch /var/lock/subsys/sshd
65 else
66 failure "sshd startup"
67 fi
63 fi 68 fi
64 echo 69 echo
65 ;; 70 ;;