File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,11 @@ validate_environment_variables() {
141141
142142trap cleanup TERM INT
143143
144+ # Ensure backwards compatibility with the old CERTBOT_DOMAIN environment variable
145+ if [ -n " $CERTBOT_DOMAIN " ] && [ -z " $CERTBOT_DOMAINS " ]; then
146+ CERTBOT_DOMAINS=$CERTBOT_DOMAIN
147+ fi
148+
144149validate_environment_variables
145150
146151if ! is_default_privileges; then
@@ -151,11 +156,6 @@ if [ "$REPLACE_SYMLINKS" = "true" ]; then
151156 configure_windows_file_permissions
152157fi
153158
154- # Ensure backwards compatibility with the old CERTBOT_DOMAIN environment variable
155- if [ -n " $CERTBOT_DOMAIN " ] && [ -z " $CERTBOT_DOMAINS " ]; then
156- CERTBOT_DOMAINS=$CERTBOT_DOMAIN
157- fi
158-
159159cat << "EOF "
160160 ____________________
161161< Certbot, activate! >
You can’t perform that action at this time.
0 commit comments