File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,11 @@ validate_environment_variables() {
141
141
142
142
trap cleanup TERM INT
143
143
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
+
144
149
validate_environment_variables
145
150
146
151
if ! is_default_privileges; then
@@ -151,11 +156,6 @@ if [ "$REPLACE_SYMLINKS" = "true" ]; then
151
156
configure_windows_file_permissions
152
157
fi
153
158
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
-
159
159
cat << "EOF "
160
160
____________________
161
161
< Certbot, activate! >
You can’t perform that action at this time.
0 commit comments