From 36acd02ab0cf688581985f85ac4bdab247422670 Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Mon, 19 Jun 2006 19:00:42 +0000 Subject: Fix bug that causes gdmsetup to not fail properly when there is no custom 2006-06-19 Brian Cameron * gui/gdmsetup.c: Fix bug that causes gdmsetup to not fail properly when there is no custom config file. --- ChangeLog | 5 +++++ gui/gdmsetup.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8b60f5ea..842b40e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-19 Brian Cameron + + * gui/gdmsetup.c: Fix bug that causes gdmsetup to not fail properly + when there is no custom config file. + 2006-06-16 Brian Cameron * gui/greeter/greeter_action_language.c, diff --git a/gui/gdmsetup.c b/gui/gdmsetup.c index 93b73ea6..de7a2e85 100644 --- a/gui/gdmsetup.c +++ b/gui/gdmsetup.c @@ -6474,7 +6474,7 @@ main (int argc, char *argv[]) exit (EXIT_FAILURE); } custom_config_file = gdm_common_get_custom_config_file (); - if (config_file == NULL) { + if (custom_config_file == NULL) { /* Done using socket */ gdmcomm_comm_bulk_stop (); g_print (_("Could not access GDM configuration file.\n")); -- cgit v1.2.1