mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-08 15:58:15 +02:00
daemon: Print the filename when the config file is missing
This commit is contained in:
parent
c015e6b21e
commit
d5ec9d4f29
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue