make libconfuse handle config files case insensitive
This commit is contained in:
parent
692f0124a3
commit
631e460f8a
@ -303,7 +303,7 @@ int main(int argc, char *argv[]) {
|
|||||||
if (configfile == NULL)
|
if (configfile == NULL)
|
||||||
configfile = get_config_path();
|
configfile = get_config_path();
|
||||||
|
|
||||||
cfg = cfg_init(opts, CFGF_NONE);
|
cfg = cfg_init(opts, CFGF_NOCASE);
|
||||||
if (cfg_parse(cfg, configfile) == CFG_PARSE_ERROR)
|
if (cfg_parse(cfg, configfile) == CFG_PARSE_ERROR)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user