summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2019-02-14 07:05:40 +0000
committerSteve Langasek <vorlon@debian.org>2019-02-14 07:06:25 +0000
commit1610dc7080430fd34ecc0b1a5955a48fb7ff0925 (patch)
tree99d588150f0ea226bd8d1f0c8c7551b48de4c30b
parent6fa666211e0c6474d25ed286903359f7e39f2119 (diff)
turn around inverted xdm check from the prior upload
-rw-r--r--debian/changelog7
-rw-r--r--debian/libpam0g.postinst2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index afe13f2..06f59ce 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 9ecc9bc..86d7d2d 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"