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-up2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.if-up b/debian/openssh-server.if-up
index 9b2140352..8db44fded 100644
--- a/debian/openssh-server.if-up
+++ b/debian/openssh-server.if-up
@@ -26,7 +26,7 @@ if [ ! -e /usr/sbin/sshd ]; then
26fi 26fi
27 27
28if [ ! -f /var/run/sshd.pid ] || \ 28if [ ! -f /var/run/sshd.pid ] || \
29 [ "$(ps -p "$(cat /var/run/sshd.pid)" -o comm=)" = sshd ]; then 29 [ "$(ps -p "$(cat /var/run/sshd.pid)" -o comm=)" != sshd ]; then
30 exit 0 30 exit 0
31fi 31fi
32 32