fix logic problem

This commit is contained in:
Brad Warren 2018-02-27 17:21:00 -08:00
parent f1fe121080
commit a700f85741

View file

@ -17,7 +17,7 @@ certbot_test () {
}
# Use local ACMEv2 endpoint if requested and SERVER isn't already set.
if [ "${BOULDER_INTEGRATION:-v1}" = "v2" -a -n "${SERVER:+x}" ]; then
if [ "${BOULDER_INTEGRATION:-v1}" = "v2" -a -z "${SERVER:+x}" ]; then
SERVER="http://localhost:4001/directory"
fi