diff --git a/src/common/options.c b/src/common/options.c --- a/src/common/options.c +++ b/src/common/options.c @@ -47,6 +47,9 @@ int options_init(int argc, char *argv[], default: fprintf(stderr, "cfg_parse returned an unknown error code\n"); case CFG_FILE_ERROR: + cfg_error(cfg, "Couldn't open file ``%s''\n", configfile); + /* no break; on purpose */ + case CFG_PARSE_ERROR: return 1;