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:
@@ -7420,9 +7420,9 @@ _precheck() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! _exists "socat" && ! _exists "python" && ! _exists "python2" && ! _exists "python3"; then
|
if ! _exists "socat" && ! _exists "python" && ! _exists "python2" && ! _exists "python3"; then
|
||||||
_err "It is recommended to install socat or python first."
|
_info "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."
|
_info "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 "If you don't want to use standalone mode, you may ignore this warning."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user