let us know why we failed to open a config file.

This commit is contained in:
Joris Vink 2018-04-10 15:16:05 +02:00
parent 85cff54a5f
commit bcbed3b349
1 changed files with 1 additions and 1 deletions

View File

@ -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);