Populate $Le_Domain in _installcert() if empty

This allows the reload command to use $Le_Domain when called during initial cert --issue
This commit is contained in:
mjbnz 2019-02-27 11:33:02 +13:00 committed by GitHub
parent ec54074392
commit c25b4a2836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4758,6 +4758,10 @@ _installcert() {
_reload_cmd="$6"
_backup_prefix="$7"
if [ "$Le_Domain" = "" ]; then
Le_Domain="$_main_domain"
fi
if [ "$_real_cert" = "$NO_VALUE" ]; then
_real_cert=""
fi