summaryrefslogtreecommitdiff
path: root/debian/openssh-server.if-up
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.if-up')
-rw-r--r--debian/openssh-server.if-up4
1 files changed, 2 insertions, 2 deletions
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
25 exit 0 25 exit 0
26fi 26fi
27 27
28if [ ! -f /var/run/sshd.pid ] || \ 28if [ ! -f /run/sshd.pid ] || \
29 [ "$(ps -p "$(cat /var/run/sshd.pid)" -o comm=)" != sshd ]; then 29 [ "$(ps -p "$(cat /run/sshd.pid)" -o comm=)" != sshd ]; then
30 exit 0 30 exit 0
31fi 31fi
32 32