diff --git a/src/acme.c b/src/acme.c index b274dd2f8..c3611a199 100644 --- a/src/acme.c +++ b/src/acme.c @@ -393,7 +393,7 @@ static int cfg_parse_acme_kws(char **args, int section_type, struct proxy *curpx err_code |= ERR_ALERT | ERR_FATAL; goto out; } - if (alertif_too_many_args(2, file, linenum, args, &err_code)) + if (alertif_too_many_args(1, file, linenum, args, &err_code)) goto out; ha_free(&cur_acme->account.file); @@ -410,7 +410,7 @@ static int cfg_parse_acme_kws(char **args, int section_type, struct proxy *curpx goto out; } - if (alertif_too_many_args(2, file, linenum, args, &err_code)) + if (alertif_too_many_args(1, file, linenum, args, &err_code)) goto out; ha_free(&cur_acme->challenge);