diff options
author | William Jon McCann <jmccann@redhat.com> | 2008-02-12 15:32:15 -0500 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2008-02-12 15:32:15 -0500 |
commit | 885708f75f493b85fb67114d112e950b6bfac652 (patch) | |
tree | 8838e377fb3521522e825f697aaaef123d02d309 /src/main.c | |
parent | 40dff5a03c7b085e34a7052efd23651d5be7674f (diff) |
guard against writing null string to keyfile
Also make criticals fatal when starting with --debug.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -290,6 +290,11 @@ main (int argc, exit (1); } + if (debug) { + g_setenv ("G_DEBUG", "fatal_criticals", FALSE); + g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL); + } + context = g_option_context_new (_("Console kit daemon")); g_option_context_add_main_entries (context, entries, NULL); error = NULL; |