changeset 2043:849ce7f4cfc7 acme-tiny

fix variable visibility
author Violet7
date Sun, 09 Nov 2025 02:24:10 -0800
parents 731c4ec1ae86
children d8550e64d613
files src/luan/host/https.luan
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/host/https.luan	Sun Nov 09 02:15:44 2025 -0800
+++ b/src/luan/host/https.luan	Sun Nov 09 02:24:10 2025 -0800
@@ -39,6 +39,10 @@
 	local dry_run = false
 	local dry_run_dir_url = "https://acme-staging-v02.api.letsencrypt.org/directory"
 
+	-- declare these so they are visible in the catch and finally blocks
+	local guard_uri
+	local temp_dir_string
+
 	if is_https then	-- https
 		if not key_file.exists() then
 			local is_local = ip(domain) == "127.0.0.1"