mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-14 02:32:47 +00:00
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:
parent
ec54074392
commit
c25b4a2836
4
acme.sh
4
acme.sh
@ -4758,6 +4758,10 @@ _installcert() {
|
|||||||
_reload_cmd="$6"
|
_reload_cmd="$6"
|
||||||
_backup_prefix="$7"
|
_backup_prefix="$7"
|
||||||
|
|
||||||
|
if [ "$Le_Domain" = "" ]; then
|
||||||
|
Le_Domain="$_main_domain"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$_real_cert" = "$NO_VALUE" ]; then
|
if [ "$_real_cert" = "$NO_VALUE" ]; then
|
||||||
_real_cert=""
|
_real_cert=""
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user