commit bcbed3b3492db43fc333e2f69e41f48fe8154225
parent 85cff54a5f610cf003dcd2517f7147e50bbfbfe3
Author: Joris Vink <joris@coders.se>
Date: Tue, 10 Apr 2018 15:16:05 +0200
let us know why we failed to open a config file.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyko/src/pyko.c b/pyko/src/pyko.c
@@ -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);