diff options
Diffstat (limited to 'src/ck.c')
-rw-r--r-- | src/ck.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; } |