Update v-add-letsencrypt-domain: Detecting valid status on wildcard variant

This commit is contained in:
myvesta 2025-05-12 17:27:13 +02:00 committed by myvesta
parent 6dccbb8276
commit 83d12510e3

View file

@ -308,6 +308,11 @@ for auth in $authz; do
if [[ $(echo "$answer" | grep 'addressesResolved') != "" ]]; then if [[ $(echo "$answer" | grep 'addressesResolved') != "" ]]; then
break break
fi fi
if [ "$wildcard" = 'yes' ]; then
if [[ $(echo "$answer" | grep '"status": "valid"') != "" ]]; then
break
fi
fi
i=$((i + 1)) i=$((i + 1))
if ((i > 30)); then if ((i > 30)); then
break break