mirror of https://github.com/openwrt/packages.git
acme-common: export main_domain
To avoid confusion, first create the main_domain var and only then export it. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>pull/24318/head
parent
56e98f78b8
commit
e2d21302f2
|
@ -37,8 +37,8 @@ load_options() {
|
|||
export dalias
|
||||
config_get domains "$section" domains
|
||||
export domains
|
||||
export main_domain
|
||||
main_domain="$(first_arg $domains)"
|
||||
export main_domain
|
||||
config_get keylength "$section" keylength
|
||||
if [ "$keylength" ]; then
|
||||
log warn "Option \"keylength\" is deprecated, please use key_type (e.g., ec256, rsa2048) instead."
|
||||
|
|
Loading…
Reference in New Issue