summaryrefslogtreecommitdiff
path: root/daemon/verify-pam.c
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2003-07-25 20:08:08 +0000
committerGeorge Lebl <jirka@src.gnome.org>2003-07-25 20:08:08 +0000
commitae0953b56420dc34bc4b366c0e50c75119500f7e (patch)
tree6c451ffd5c17c50b399ebbfd41f0253f807d0a6b /daemon/verify-pam.c
parent30f9f785244343583c475255f86cee1323a569c6 (diff)
downloadgdm-ae0953b56420dc34bc4b366c0e50c75119500f7e.tar.gz
if child crashed (died of a signal) then log the signal if debug is on
Fri Jul 25 13:06:49 2003 George Lebl <jirka@5z.com> * daemon/display.c, daemon/gdm.c: if child crashed (died of a signal) then log the signal if debug is on * daemon/gdm.h, daemon/server.c, daemon/slave.[ch]: The X server quite apparently emits a USR1 on reinit so catch that (apparently I was not seeing this before as USR1 seems to have been blocked during the fun times.) * demon/server.c: on exit from an XDMCP display whack all clients to support broken X terminals * daemon/slave.c: whack the \n's from some of the GUI messages as that's not needed anymore with gtk2 and in fact sometimes can look like crap. * daemon/slave.c: run session_stop before the 10 second session warning and don't run the warning if the server is dead * daemon/veriy-pam.c: don't return uninit value if we don't open session or delete secred, return PAM_SUCCESS * daemon/gdmthemetester: add -terminate to command line so that I don't keep getting thousands of Xnest windows on my screen
Diffstat (limited to 'daemon/verify-pam.c')
-rw-r--r--daemon/verify-pam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/verify-pam.c b/daemon/verify-pam.c
index 5a48bd94..4e60550a 100644
--- a/daemon/verify-pam.c
+++ b/daemon/verify-pam.c
@@ -963,6 +963,8 @@ gdm_verify_cleanup (GdmDisplay *d)
gdm_sigchld_block_pop ();
gdm_sigterm_block_pop ();
+ pamerr = PAM_SUCCESS;
+
/* Close the users session */
if (old_opened_session) {
gdm_debug ("Running pam_close_session");