From 1610dc7080430fd34ecc0b1a5955a48fb7ff0925 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 14 Feb 2019 07:05:40 +0000 Subject: turn around inverted xdm check from the prior upload --- debian/changelog | 7 +++++++ debian/libpam0g.postinst | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index afe13f22..06f59cec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pam (1.3.1-5) UNRELEASED; urgency=medium + + * xdm restart check was inverted in the prior upload; turn it the right + way around + + -- Steve Langasek Thu, 14 Feb 2019 07:04:50 +0000 + pam (1.3.1-4) unstable; urgency=medium * Fix the name of the samba services to be restarted on upgrade. diff --git a/debian/libpam0g.postinst b/debian/libpam0g.postinst index 9ecc9bcb..86d7d2de 100644 --- a/debian/libpam0g.postinst +++ b/debian/libpam0g.postinst @@ -106,7 +106,7 @@ then check="$check sfs-server solid-pop3d squid squid3 tac-plus" check="$check vsftpd wu-ftpd wzdftpd xrdp yardradius yaws" - if [ -n "$(who | awk '$2 ~ /console/ && $NF ~ /:[0-9]/ { print $NF } + if [ -z "$(who | awk '$2 ~ /console/ && $NF ~ /:[0-9]/ { print $NF } $2 ~ /:[0-9]/ { print $2 }')" ] then check="$check wdm xdm" -- cgit v1.2.3