From b9233cf7f7f6900f1391a0f4860c9c74be7c6350 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 13 Jan 2009 20:21:11 +0000 Subject: fix reversed logic --- debian/openssh-server.if-up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fi if [ ! -f /var/run/sshd.pid ] || \ - [ "$(ps -p "$(cat /var/run/sshd.pid)" -o comm=)" = sshd ]; then + [ "$(ps -p "$(cat /var/run/sshd.pid)" -o comm=)" != sshd ]; then exit 0 fi -- cgit v1.2.3