summaryrefslogtreecommitdiff
path: root/contrib/redhat
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/redhat')
-rwxr-xr-xcontrib/redhat/sshd.init1
-rwxr-xr-xcontrib/redhat/sshd.init-5.x1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/redhat/sshd.init b/contrib/redhat/sshd.init
index 83c10a885..41f98ad88 100755
--- a/contrib/redhat/sshd.init
+++ b/contrib/redhat/sshd.init
@@ -72,6 +72,7 @@ case "$1" in
72 echo -n "Shutting down sshd: " 72 echo -n "Shutting down sshd: "
73 if [ -f $PID_FILE ] ; then 73 if [ -f $PID_FILE ] ; then
74 killproc sshd 74 killproc sshd
75 RETVAL=$?
75 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd 76 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd
76 fi 77 fi
77 echo 78 echo
diff --git a/contrib/redhat/sshd.init-5.x b/contrib/redhat/sshd.init-5.x
index e836b6919..51ded9338 100755
--- a/contrib/redhat/sshd.init-5.x
+++ b/contrib/redhat/sshd.init-5.x
@@ -39,6 +39,7 @@ case "$1" in
39 echo -n "Shutting down sshd: " 39 echo -n "Shutting down sshd: "
40 if [ -f /var/run/sshd.pid ] ; then 40 if [ -f /var/run/sshd.pid ] ; then
41 killproc sshd 41 killproc sshd
42 RETVAL=$?
42 fi 43 fi
43 echo 44 echo
44 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd 45 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd