aboutsummaryrefslogtreecommitdiff
path: root/debian/libpam0g.postinst
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 /debian/libpam0g.postinst
parent6fa666211e0c6474d25ed286903359f7e39f2119 (diff)
downloadpam-1610dc7080430fd34ecc0b1a5955a48fb7ff0925.tar.gz
pam-1610dc7080430fd34ecc0b1a5955a48fb7ff0925.tar.bz2
pam-1610dc7080430fd34ecc0b1a5955a48fb7ff0925.zip
turn around inverted xdm check from the prior upload
Diffstat (limited to 'debian/libpam0g.postinst')
-rw-r--r--debian/libpam0g.postinst2
1 files changed, 1 insertions, 1 deletions
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"