From 1ec002a8ee0c9165bedbcb6e273d9bacb0588e47 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 18 Sep 2015 16:27:37 -0500 Subject: Suppress another unwanted PKCS#11 PAM message --- tdmlib/kgreet_classic.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tdmlib') 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! -- cgit v1.2.3