[PC-BSD Commits] r18391 - pcbsd/current/src-qt4/qsu/src

svn at pcbsd.org svn at pcbsd.org
Thu Aug 9 07:24:33 PDT 2012


Author: kris
Date: 2012-08-09 14:24:33 +0000 (Thu, 09 Aug 2012)
New Revision: 18391

Modified:
   pcbsd/current/src-qt4/qsu/src/conversation.cpp
Log:

When user closes qsu or clicks cancel, we can just exit, don't need to
display "failed auth" screen



Modified: pcbsd/current/src-qt4/qsu/src/conversation.cpp
===================================================================
--- pcbsd/current/src-qt4/qsu/src/conversation.cpp	2012-08-09 14:18:41 UTC (rev 18390)
+++ pcbsd/current/src-qt4/qsu/src/conversation.cpp	2012-08-09 14:24:33 UTC (rev 18391)
@@ -108,6 +108,8 @@
 
 			if (dialog.exec() == QDialog::Accepted)
 				l_resp[i].resp = strdup(dialog.password().toAscii().constData());
+			else
+				exit(1);
 
 			break;
 		case PAM_ERROR_MSG:



More information about the Commits mailing list