forked from mirrors/kore
let us know why we failed to open a config file.
This commit is contained in:
parent
85cff54a5f
commit
bcbed3b349
|
@ -57,7 +57,7 @@ kore_parent_configure(int argc, char **argv)
|
|||
fatal("failed to create configuration path");
|
||||
|
||||
if ((fp = fopen(config, "r")) == NULL)
|
||||
fatal("failed to open configuration '%s'", config);
|
||||
fatal("cannot open configuration '%s': %s", config, errno_s);
|
||||
|
||||
kore_python_path(module);
|
||||
kore_module_load(module, NULL, KORE_MODULE_PYTHON);
|
||||
|
|
Loading…
Reference in New Issue