fix: check for file

This commit is contained in:
f 2024-06-14 17:18:43 -03:00
parent e428837559
commit fb40860f31
No known key found for this signature in database

View file

@ -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