[config.c] Fix error message for no correct config file
This commit is contained in:
parent
e156fef48d
commit
bb89bba313
3
config.c
3
config.c
@ -256,8 +256,9 @@ init_conf(void)
|
||||
|
||||
if(ret == CFG_FILE_ERROR || ret == CFG_PARSE_ERROR)
|
||||
{
|
||||
printf("WMFS: parsing configuration file (%s) failed\n Use the default configuration.\n", final_path);
|
||||
sprintf(sfinal_path, "%s/wmfs/wmfsrc", XDG_CONFIG_DIR);
|
||||
printf("WMFS: parsing configuration file (%s) failed\n"
|
||||
"Use the default configuration (%s).\n", final_path, sfinal_path);
|
||||
ret = cfg_parse(cfg, sfinal_path);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user