evoacme.sh: quiet nginx config test

This commit is contained in:
Jérémy Lecour 2019-11-04 15:16:26 +01:00 committed by Jérémy Lecour
parent d850495d80
commit 8ed1af910b

View file

@ -75,7 +75,7 @@ sed_cert_path_for_nginx() {
sed -i "s~${search}~${replace}~" "${vhost_full_path}"
debug "Config in ${vhost_full_path} has been updated"
$(command -v nginx) -t 2>/dev/null
[ "${?}" -eq 0 ] || $(command -v nginx) -t
[ "${?}" -eq 0 ] || $(command -v nginx) -t -q
fi
}
x509_verify() {