From 8e250bba8f14ffa44f7a87caa7130f761116cbe4 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 23 Mar 2026 14:32:28 +0100 Subject: [PATCH] BUG/MINOR: acme/cli: fix argument check and error in 'acme challenge_ready' Fix the check or arguments of the 'acme challenge_ready' command which was checking if all arguments are NULL instead of one of the argument. Must be backported to 3.2 and later. --- src/acme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acme.c b/src/acme.c index 501cba55a..5d6b64109 100644 --- a/src/acme.c +++ b/src/acme.c @@ -2770,8 +2770,8 @@ static int cli_acme_chall_ready_parse(char **args, char *payload, struct appctx int remain = 0; struct ebmb_node *node = NULL; - if (!*args[2] && !*args[3] && !*args[4]) { - memprintf(&msg, ": not enough parameters\n"); + if (!*args[2] || !*args[3] || !*args[4]) { + memprintf(&msg, "Not enough parameters: \"acme challenge_ready domain \"\n"); goto err; }