commit 5b0772b64699f810b98d3ce6a0007748a723885e
parent bafb99445f23af7e9e564ebab4b2dca069789ae0
Author: Joris Vink <joris@coders.se>
Date: Mon, 9 Apr 2018 20:36:05 +0200
pyko: reshuffle comment.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pyko/src/pyko.c b/pyko/src/pyko.c
@@ -48,10 +48,9 @@ kore_parent_configure(int argc, char **argv)
kore_module_load(argv[0], NULL, KORE_MODULE_PYTHON);
- /* kore_parse_config_file() will call fclose(). */
-
if (chdir(argv[0]) == -1)
fatal("chdir(%s): %s", argv[0], errno_s);
+ /* kore_parse_config_file() will call fclose(). */
kore_parse_config_file(fp);
}