X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fcfg.c;h=6a7ce1bf50ea8e11166340336836e495286deefa;hb=c99f9324d18e175a05878f132f0f230be7595ca9;hp=8f229754048e931a92d1d7e4251181f2980aeda5;hpb=269ab66f9042f48748b18180d176978e509a11cf;p=psensor.git diff --git a/src/cfg.c b/src/cfg.c index 8f22975..6a7ce1b 100644 --- a/src/cfg.c +++ b/src/cfg.c @@ -537,15 +537,10 @@ static GKeyFile *get_sensor_key_file() | G_KEY_FILE_KEEP_TRANSLATIONS, &err); - if (!ret) { - if (err->code == G_KEY_FILE_ERROR_NOT_FOUND) - log_fct(_("The configuration file " - "does not exist.")); - else - log_err(_("Failed to parse configuration " - "file: %s"), - path); - } + if (!ret) + log_warn(_("Failed to load configuration file %s: %s"), + path, + err->message); } return key_file;