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.
goto err;
}
- acme_start_task(store, &errmsg);
+ if (acme_start_task(store, &errmsg) != 0)
+ goto err;
+ HA_SPIN_UNLOCK(CKCH_LOCK, &ckch_lock);
+ return 0;
err:
HA_SPIN_UNLOCK(CKCH_LOCK, &ckch_lock);
return cli_dynerr(appctx, errmsg);