From c3267a360860de225fa0af666d99f60d03266249 Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 25 Oct 2018 19:06:34 +0300 Subject: Fix config parser bug --- src/ck.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ck.c') 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; } -- cgit v1.2.3