From 9c24e438b689af042672182f6d87f824ef435492 Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Thu, 4 Oct 2018 15:46:42 +0300 Subject: More error/logs and fix failing test --- src/ck.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ck.c') diff --git a/src/ck.c b/src/ck.c index 335d72f..4a0a626 100644 --- a/src/ck.c +++ b/src/ck.c @@ -46,6 +46,8 @@ int main(int argc, char *argv[]) { case APR_ERR: print_parser_error(&opt); goto error; + case APR_VERSION: + goto close; case APR_OK: break; } @@ -78,6 +80,7 @@ int main(int argc, char *argv[]) { error: free_user_opt(&opt); free_conf(&conf); + close: report_errlog(); return 0; } -- cgit v1.2.3