fix: skip unneeded dirs
This commit is contained in:
parent
6abce5891b
commit
aab2b783d9
1 changed files with 2 additions and 1 deletions
|
@ -161,11 +161,12 @@ case $1 in
|
|||
# But check if they still point here
|
||||
if domain_configured "${domain}" ; then
|
||||
ok "${domain} already issued"
|
||||
continue
|
||||
else
|
||||
not_ok "${domain} has a certificate but it's not correctly configured, will remove it for now"
|
||||
remove_certificate "${domain}"
|
||||
fi
|
||||
|
||||
continue
|
||||
# The file exists but it's empty and it was issued before
|
||||
elif test -f "/etc/letsencrypt/renewal/${domain}.conf" && test -d "/etc/letsencrypt/archive/${domain}"; then
|
||||
other_renewal="$(grep -l -m 1 "^authenticator = webroot$" /etc/letsencrypt/renewal/*.conf | head -1)"
|
||||
|
|
Loading…
Reference in a new issue