Commit 48645c0c authored by Jiri (George) Lebl's avatar Jiri (George) Lebl Committed by George Lebl

when the parent process doesn't exist, we die after session ended. This is

Wed Aug 13 11:17:15 2003  George Lebl <jirka@5z.com>

	* daemon/slave.c: when the parent process doesn't exist,
	  we die after session ended.  This is a semi decent (not really,
	  but it's simple) way to handle the main daemon crashing.
parent 06ecd7df
Wed Aug 13 11:17:15 2003 George Lebl <jirka@5z.com>
* daemon/slave.c: when the parent process doesn't exist,
we die after session ended. This is a semi decent (not really,
but it's simple) way to handle the main daemon crashing.
Wed Aug 13 10:56:52 2003 George Lebl <jirka@5z.com>
* daemon/misc.c: try /dev/fd (FreeBSD equivalent of /proc/self/fd) as
......
......@@ -581,7 +581,8 @@ gdm_slave_start (GdmDisplay *display)
gdm_slave_run (display);
/* remote and flexi only run once */
if (display->type != TYPE_LOCAL) {
if (display->type != TYPE_LOCAL ||
! parent_exists ()) {
gdm_server_stop (display);
gdm_slave_send_num (GDM_SOP_XPID, 0);
gdm_slave_quick_exit (DISPLAY_REMANAGE);
......@@ -601,7 +602,6 @@ gdm_slave_start (GdmDisplay *display)
gdm_debug ("gdm_slave_start: Reinitializing things");
if (GdmAlwaysRestartServer) {
/* Whack the server if we want to restart it next time
* we run gdm_slave_run */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment