aboutsummaryrefslogtreecommitdiffstats
path: root/src/ck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ck.c')
-rw-r--r--src/ck.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ck.c b/src/ck.c
index b2119e7..335d72f 100644
--- a/src/ck.c
+++ b/src/ck.c
@@ -32,10 +32,12 @@
#include "dblayer.h"
#include "cklist.h"
#include "ckutil.h"
+#include "ckerrlog.h"
int main(int argc, char *argv[]) {
+ initialize_errlog();
UserOpt opt;
- Conf conf = {.VC_dir = NULL, .SCRT_dir = NULL};
+ Conf conf = {.vc_dir = NULL, .scrt_dir = NULL};
/* get user opt */
switch(parse_action(argc, argv, &opt)) {
case APR_HELP:
@@ -76,5 +78,6 @@ int main(int argc, char *argv[]) {
error:
free_user_opt(&opt);
free_conf(&conf);
+ report_errlog();
return 0;
}