diff options
author | Timothy Pearson <[email protected]> | 2015-09-18 16:27:37 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2015-09-18 16:27:37 -0500 |
commit | 1ec002a8ee0c9165bedbcb6e273d9bacb0588e47 (patch) | |
tree | 91397e0ec0d568c85ee424137b502f231ef46964 /tdmlib/kgreet_classic.cpp | |
parent | 9ea67803526cec0439175b8dc2ee5f0e7b87bc89 (diff) | |
download | tdebase-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.cpp | 3 |
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! |