diff options
Diffstat (limited to 'core/defconf.c')
| -rw-r--r-- | core/defconf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/defconf.c b/core/defconf.c index be55708..53e2bdf 100644 --- a/core/defconf.c +++ b/core/defconf.c @@ -27,8 +27,9 @@ defconf_run(void) struct defconf_state state; int error; - if (defconf_state_init(config_path, &state) < 0) { - return -1; + error = defconf_state_init(config_path, &state); + if (error < 0) { + return error; } /* Begin parsing the config */ |
