summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeemu Ikonen <tpikonen@mailbox.org>2023-01-22 15:29:03 +0200
committerTeemu Ikonen <tpikonen@mailbox.org>2023-01-22 15:29:03 +0200
commit438f54bed8f211f9b905c8935cd024fae433c2e3 (patch)
tree903536e2cc70179d8759c2d8d59b975d5e045a24
parentba7f8572835088e20c4dfb134271b1d29e8d7198 (diff)
downloadgeoclue-438f54bed8f211f9b905c8935cd024fae433c2e3.tar.gz
config: Debug log config also when conf.d dir is missing
-rw-r--r--src/gclue-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gclue-config.c b/src/gclue-config.c
index b769b57..70822ed 100644
--- a/src/gclue-config.c
+++ b/src/gclue-config.c
@@ -571,7 +571,7 @@ gclue_config_init (GClueConfig *config)
if (error != NULL) {
g_warning ("Failed to open %s: %s",
CONFIG_D_DIRECTORY, error->message);
- return;
+ goto out;
}
files = g_array_new (FALSE, FALSE, sizeof(char *));
@@ -592,7 +592,7 @@ gclue_config_init (GClueConfig *config)
NULL);
load_config_file (config, path, FALSE);
}
-
+out:
gclue_config_print (config);
}