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, 3 insertions, 0 deletions
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;
}