summaryrefslogtreecommitdiffstats
path: root/tdmlib/kgreet_classic.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-09-18 16:27:37 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-09-18 16:27:37 -0500
commit1ec002a8ee0c9165bedbcb6e273d9bacb0588e47 (patch)
tree91397e0ec0d568c85ee424137b502f231ef46964 /tdmlib/kgreet_classic.cpp
parent9ea67803526cec0439175b8dc2ee5f0e7b87bc89 (diff)
downloadtdebase-1ec002a8ee0c9165bedbcb6e273d9bacb0588e47.tar.gz
tdebase-1ec002a8ee0c9165bedbcb6e273d9bacb0588e47.zip
Suppress another unwanted PKCS#11 PAM message
Diffstat (limited to 'tdmlib/kgreet_classic.cpp')
-rw-r--r--tdmlib/kgreet_classic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdmlib/kgreet_classic.cpp b/tdmlib/kgreet_classic.cpp
index 5b8f51d2b..7eb983583 100644
--- a/tdmlib/kgreet_classic.cpp
+++ b/tdmlib/kgreet_classic.cpp
@@ -287,7 +287,8 @@ KClassicGreeter::textMessage( const char *text, bool err )
if (!err && suppressInfoMsg) {
return true;
}
- if (!err && ((TQString(text).lower().find("smartcard") >= 0) || (TQString(text).lower().find("smart card") >= 0))) {
+ if ((!err && ((TQString(text).lower().find("smartcard") >= 0) || (TQString(text).lower().find("smart card") >= 0)))
+ ||(err && (TQString(text).lower().find(" 2306:") >= 0))) {
// FIXME
// pam_pkcs11 is extremely chatty, even with no card inserted,
// and there is no apparent way to disable the unwanted messages!