precheck: log the socat recommendation with _info instead of _err

Missing socat only matters for standalone mode; the text even says the
warning can be ignored. Printing it to stderr made every --upgrade in a
cron noisy for DNS-only users who redirect stdout.

https://github.com/acmesh-official/acme.sh/issues/6525
This commit is contained in:
neil 2026-07-12 09:30:46 +08:00
parent 2215f1b988
commit 04e0422526

View file

@ -7420,9 +7420,9 @@ _precheck() {
fi
if ! _exists "socat" && ! _exists "python" && ! _exists "python2" && ! _exists "python3"; then
_err "It is recommended to install socat or python first."
_err "We use socat or python for the standalone server, which is used for standalone mode."
_err "If you don't want to use standalone mode, you may ignore this warning."
_info "It is recommended to install socat or python first."
_info "We use socat or python for the standalone server, which is used for standalone mode."
_info "If you don't want to use standalone mode, you may ignore this warning."
fi
return 0