summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/openssh-server.ssh.init6
1 files changed, 2 insertions, 4 deletions
diff --git a/debian/openssh-server.ssh.init b/debian/openssh-server.ssh.init
index a069f3ead..f4c6f251f 100644
--- a/debian/openssh-server.ssh.init
+++ b/debian/openssh-server.ssh.init
@@ -124,10 +124,8 @@ case "$1" in
124 check_privsep_dir 124 check_privsep_dir
125 check_config 125 check_config
126 log_daemon_msg "Restarting OpenBSD Secure Shell server" "sshd" || true 126 log_daemon_msg "Restarting OpenBSD Secure Shell server" "sshd" || true
127 set +e 127 RET=0
128 start-stop-daemon --stop --quiet --retry 30 --pidfile /var/run/sshd.pid 128 start-stop-daemon --stop --quiet --retry 30 --pidfile /var/run/sshd.pid || RET="$?"
129 RET="$?"
130 set -e
131 case $RET in 129 case $RET in
132 0) 130 0)
133 # old daemon stopped 131 # old daemon stopped