conf: optimize badconfig log

This commit is contained in:
Nick Peng
2022-07-07 22:49:30 +08:00
parent 7d62226995
commit 4e2161c6fc
5 changed files with 17 additions and 12 deletions

View File

@@ -262,6 +262,7 @@ int load_conf_file(const char *file, struct config_item *items, conf_error_handl
/* if field format is not key = value, error */
if (filed_num != 2) {
handler(file, line_no, CONF_RET_BADCONF);
goto errout;
}