From 229a0bff287f305c0b8e828c0fb58378ccad4ce7 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Wed, 19 Feb 2025 14:12:07 +0400 Subject: [PATCH] fix: check if subdir exists when volume is mounted, /etc/letsencrypt exists even when not init-ed --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 78bba89..9d85431 100755 --- a/run.sh +++ b/run.sh @@ -1,6 +1,6 @@ #!/bin/ash -if [ ! -e /etc/letsencrypt ] +if [ ! -e /etc/letsencrypt/live ] then echo "[!!] Certbot directory is not initialized" echo "[!!] Either it's the first run or you forgot to add a volume"