diff options
author | Steve Langasek <vorlon@debian.org> | 2019-02-14 07:05:40 +0000 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-02-14 07:06:25 +0000 |
commit | 1610dc7080430fd34ecc0b1a5955a48fb7ff0925 (patch) | |
tree | 99d588150f0ea226bd8d1f0c8c7551b48de4c30b | |
parent | 6fa666211e0c6474d25ed286903359f7e39f2119 (diff) | |
download | pam-1610dc7080430fd34ecc0b1a5955a48fb7ff0925.tar.gz pam-1610dc7080430fd34ecc0b1a5955a48fb7ff0925.tar.bz2 pam-1610dc7080430fd34ecc0b1a5955a48fb7ff0925.zip |
turn around inverted xdm check from the prior upload
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/libpam0g.postinst | 2 |
2 files changed, 8 insertions, 1 deletions
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 <vorlon@debian.org> 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" |