diff options
author | Colin Watson <cjwatson@debian.org> | 2009-01-13 20:21:11 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-01-13 20:21:11 +0000 |
commit | b9233cf7f7f6900f1391a0f4860c9c74be7c6350 (patch) | |
tree | 9e73584e017c1734e03e5d9740abeaa9b98b3757 | |
parent | 78a89e637c337e240678de3d1c0f1486b3affb93 (diff) |
fix reversed logic
-rw-r--r-- | debian/openssh-server.if-up | 2 |
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 | |||
26 | fi | 26 | fi |
27 | 27 | ||
28 | if [ ! -f /var/run/sshd.pid ] || \ | 28 | if [ ! -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 |
31 | fi | 31 | fi |
32 | 32 | ||