]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acme/cli: don't output error on success
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 2 May 2025 19:15:45 +0000 (21:15 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 2 May 2025 19:21:09 +0000 (21:21 +0200)
commitaf5bbce66496d61499dec665a64738f7d0f52717
tree3f051d2b21b22d8ee51caa972ba8672b56daffdf
parent0e6f968ee379664bbd2add13026266d7ee587984
BUG/MINOR: acme/cli: don't output error on success

Previous patch 7251c13c7 ("MINOR: acme: move the acme task init in a dedicated
function") mistakenly returned the wrong error code when "acme renew" parsing
was successful, and tried to emit an error message.

This patch fixes the issue by returning 0 when the acme task was correctly
scheduled to start.

No backport needed.
src/acme.c