summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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!