Commit 98a32e4f authored by Jasper St. Pierre's avatar Jasper St. Pierre

main: Remove debug log toggle on SIGUSR1

Trying to integrate the slave into the main daemon means that we
need to respond to USR1 as it's the signal Xorg sends when the
X server is ready.

https://bugzilla.gnome.org/show_bug.cgi?id=724382
parent 0514ef59
......@@ -287,16 +287,6 @@ on_sighup_cb (gpointer user_data)
return TRUE;
}
static gboolean
on_sigusr1_cb (gpointer user_data)
{
g_debug ("Got USR1 signal");
gdm_log_toggle_debug ();
return TRUE;
}
static gboolean
is_debug_set (void)
{
......@@ -400,7 +390,6 @@ main (int argc,
g_unix_signal_add (SIGTERM, on_shutdown_signal_cb, main_loop);
g_unix_signal_add (SIGINT, on_shutdown_signal_cb, main_loop);
g_unix_signal_add (SIGHUP, on_sighup_cb, NULL);
g_unix_signal_add (SIGUSR1, on_sigusr1_cb, NULL);
if (do_timed_exit) {
g_timeout_add_seconds (30, (GSourceFunc) timed_exit_cb, main_loop);
......
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