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 .[] \ | jq --raw-output .[] \
| while read domain; do | while read domain; do
# Skip already existing domains # 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 echo "ok - ${domain} already issued" >&2
continue continue
fi fi