summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 5f5787698..60f88faf8 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -304,7 +304,7 @@ if [ "$action" = configure ]; then
304 # restart it under Upstart. 304 # restart it under Upstart.
305 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/sshd.pid || true 305 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/sshd.pid || true
306 fi 306 fi
307 if dpkg --compare-versions "$2" lt 1:6.5p1-1 && \ 307 if dpkg --compare-versions "$2" lt 1:6.5p1-3 && \
308 [ -d /run/systemd/system ]; then 308 [ -d /run/systemd/system ]; then
309 # We must stop the sysvinit-controlled sshd before we can 309 # We must stop the sysvinit-controlled sshd before we can
310 # restart it under systemd. 310 # restart it under systemd.