You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
certbot-auto certonly --dry-run "${args[@]}" -d "$i"| grep -q 'The dry run was successful.'&&break
exitcode=$?
This way, after a initial failure of domain validation, the exitcode variable are only redefined when the validation fails again. If the validation succeeds, the exitcode remains with the value of previous iteration because the "break" statement.
This cause the domain to not be included in the certificate generation.
To work correctly, the exitcode variable needs to be cleaned before every domain validation trial
The text was updated successfully, but these errors were encountered:
rafael747
changed the title
variable exitcode is only defined before the until loop
variable exitcode is not been cleaned before every domain validation
May 10, 2018
docker-flow-letsencrypt/certbot.sh
Lines 41 to 46 in 68747ea
This way, after a initial failure of domain validation, the exitcode variable are only redefined when the validation fails again. If the validation succeeds, the exitcode remains with the value of previous iteration because the "break" statement.
This cause the domain to not be included in the certificate generation.
To work correctly, the exitcode variable needs to be cleaned before every domain validation trial
The text was updated successfully, but these errors were encountered: