summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2006-06-19 19:00:42 +0000
committerBrian Cameron <bcameron@src.gnome.org>2006-06-19 19:00:42 +0000
commit36acd02ab0cf688581985f85ac4bdab247422670 (patch)
treeccbb825ae87a417564e194983124ed5247cb4f9a
parentd7be4783141e5ca36244b0ab5b7ba993503b410d (diff)
downloadgdm-36acd02ab0cf688581985f85ac4bdab247422670.tar.gz
Fix bug that causes gdmsetup to not fail properly when there is no custom
2006-06-19 Brian Cameron <brian.cameron@sun.com> * gui/gdmsetup.c: Fix bug that causes gdmsetup to not fail properly when there is no custom config file.
-rw-r--r--ChangeLog5
-rw-r--r--gui/gdmsetup.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b60f5ea..842b40e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-19 Brian Cameron <brian.cameron@sun.com>
+
+ * gui/gdmsetup.c: Fix bug that causes gdmsetup to not fail properly
+ when there is no custom config file.
+
2006-06-16 Brian Cameron <brian.cameron@sun.com>
* 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"));