Commit 85a68ab1 authored by Yetoo1's avatar Yetoo1 Committed by Ray Strode

daemon: Don't call g_option_context_set_ignore_unknown_options

When using unknown command line options with the GDM daemon, the
program hangs until explicitly getting killed.

This commit addresses that bug by dropping an unnecessary call to
g_option_context_set_ignore_unknown_options, so GOptionContext will
now give an error when encountering unknown options.
parent 4085d689
......@@ -329,7 +329,6 @@ main (int argc,
context = g_option_context_new (_("GNOME Display Manager"));
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_set_ignore_unknown_options (context, TRUE);
error = NULL;
res = g_option_context_parse (context, &argc, &argv, &error);
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