main: Add debug when about to load configuration file

This commit is contained in:
Bastien Nocera
2019-03-21 10:53:00 +01:00
parent bfbac18606
commit cbf4a47af3

View File

@ -87,6 +87,7 @@ load_conf (void)
filename = g_build_filename (SYSCONFDIR, "fprintd.conf", NULL);
file = g_key_file_new ();
g_debug("About to load configuration file '%s'", filename);
if (!g_key_file_load_from_file (file, filename, G_KEY_FILE_NONE, &error)) {
g_print ("Could not open fprintd.conf: %s\n", error->message);
goto bail;