aboutsummaryrefslogtreecommitdiffstats
path: root/src/ck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ck.c')
-rw-r--r--src/ck.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ck.c b/src/ck.c
index 96ddeae..f35cc95 100644
--- a/src/ck.c
+++ b/src/ck.c
@@ -54,7 +54,7 @@ int main(int argc, char *argv[]) {
goto error;
}
/* Finally parse the config file and exit on error */
- if (!config_file_parse(&conf, &opt)) {
+ if (config_file_parse(&conf, &opt)) {
goto error;
}
}
@@ -73,7 +73,6 @@ int main(int argc, char *argv[]) {
error:
free_user_opt(&opt);
free_conf(&conf);
- close:
report_errlog();
return 0;
}