From 41b6371afaf0e29f85cadba735da9324983e21da Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 4 Sep 2026 15:27:35 +0800 Subject: [PATCH] minor --- deploy/haproxy.sh | 5 +---- deploy/lighttpd.sh | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/deploy/haproxy.sh b/deploy/haproxy.sh index 9736e6ff..a3973f14 100644 --- a/deploy/haproxy.sh +++ b/deploy/haproxy.sh @@ -173,10 +173,7 @@ haproxy_deploy() { # Set the suffix depending if we are creating a bundle or not if [ "${Le_Deploy_haproxy_bundle}" = "yes" ]; then _info "Bundle creation requested" - # Initialise $Le_Keylength if its not already set - if [ -z "${Le_Keylength}" ]; then - Le_Keylength="" - fi + # shellcheck disable=SC2154 # Le_Keylength is set by acme.sh core, not this hook if _isEccKey "${Le_Keylength}"; then _info "ECC key type detected" _suffix=".ecdsa" diff --git a/deploy/lighttpd.sh b/deploy/lighttpd.sh index 71f64b96..0ef4330b 100644 --- a/deploy/lighttpd.sh +++ b/deploy/lighttpd.sh @@ -121,10 +121,7 @@ lighttpd_deploy() { # Set the suffix depending if we are creating a bundle or not if [ "${Le_Deploy_lighttpd_bundle}" = "yes" ]; then _info "Bundle creation requested" - # Initialise $Le_Keylength if its not already set - if [ -z "${Le_Keylength}" ]; then - Le_Keylength="" - fi + # shellcheck disable=SC2154 # Le_Keylength is set by acme.sh core, not this hook if _isEccKey "${Le_Keylength}"; then _info "ECC key type detected" _suffix=".ecdsa"