summaryrefslogtreecommitdiff
path: root/debian/libpam0g.postinst
diff options
context:
space:
mode:
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"