From deabedcd80fd145a2eb350ad5a6a34670750a755 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 9 Mar 2017 11:20:38 +0000 Subject: Move privilege separation directory and PID file from /var/run/ to /run/ (closes: #760422, #856825). --- debian/openssh-server.if-up | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/openssh-server.if-up') diff --git a/debian/openssh-server.if-up b/debian/openssh-server.if-up index 915284cc6..525c2153b 100644 --- a/debian/openssh-server.if-up +++ b/debian/openssh-server.if-up @@ -25,8 +25,8 @@ if [ ! -e /usr/sbin/sshd ]; then exit 0 fi -if [ ! -f /var/run/sshd.pid ] || \ - [ "$(ps -p "$(cat /var/run/sshd.pid)" -o comm=)" != sshd ]; then +if [ ! -f /run/sshd.pid ] || \ + [ "$(ps -p "$(cat /run/sshd.pid)" -o comm=)" != sshd ]; then exit 0 fi -- cgit v1.2.3