fix: check for file
This commit is contained in:
parent
e428837559
commit
fb40860f31
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue