daemon: Print the filename when the config file is missing

This commit is contained in:
Bastien Nocera 2015-09-23 17:00:00 +02:00
parent c015e6b21e
commit d5ec9d4f29

View file

@ -114,13 +114,13 @@ up_config_init (UpConfig *config)
G_KEY_FILE_NONE,
&error);
g_free (filename);
if (!ret) {
g_warning ("failed to load config file: %s",
error->message);
g_warning ("failed to load config file '%s': %s",
filename, error->message);
g_error_free (error);
}
g_free (filename);
}
/**