From e2d21302f28c7950f7ef65783b26a0354c6a5cfa Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Sat, 1 Jun 2024 14:23:04 +0300 Subject: [PATCH] acme-common: export main_domain To avoid confusion, first create the main_domain var and only then export it. Signed-off-by: Sergey Ponomarev --- net/acme-common/files/acme.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/acme-common/files/acme.init b/net/acme-common/files/acme.init index 4d1efb1dc5..ba5d04165f 100644 --- a/net/acme-common/files/acme.init +++ b/net/acme-common/files/acme.init @@ -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." -- 2.30.2