From fb40860f3153f33e6fa0a29599f6f02f24daeb90 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 14 Jun 2024 17:18:43 -0300 Subject: [PATCH] fix: check for file --- certbotd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbotd.sh b/certbotd.sh index 6775973..3065416 100755 --- a/certbotd.sh +++ b/certbotd.sh @@ -92,7 +92,7 @@ case $1 in | jq --raw-output .[] \ | while read domain; do # Skip already existing domains - if test -d "/etc/letsencrypt/renewal/${domain}.conf"; then + if test -f "/etc/letsencrypt/renewal/${domain}.conf"; then echo "ok - ${domain} already issued" >&2 continue fi