aboutsummaryrefslogtreecommitdiffstats
path: root/src/ck.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-25 19:06:34 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-25 19:06:34 +0300
commitc3267a360860de225fa0af666d99f60d03266249 (patch)
tree6d9db577082bec43074c07194d14ce9694754ce0 /src/ck.c
parentd29c929e444d69ea7d4ce146f67f4c8df36baa95 (diff)
downloadck-c3267a360860de225fa0af666d99f60d03266249.tar.gz
ck-c3267a360860de225fa0af666d99f60d03266249.tar.bz2
ck-c3267a360860de225fa0af666d99f60d03266249.zip
Fix config parser bug
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;
}