Fix callhook error in manual mode

Fixes #1586  
Check force manual switch before causing error about it.
This commit is contained in:
arlecchino 2019-11-12 19:58:36 +01:00 committed by GitHub
parent 3d2df3ba93
commit 867ec010ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3365,7 +3365,7 @@ _on_issue_success() {
fi
fi
if _hasfield "$Le_Webroot" "$W_DNS"; then
if _hasfield "$Le_Webroot" "$W_DNS" && [ -z "$FORCE_DNS_MANUAL" ]; then
_err "$_DNS_MANUAL_WARN"
fi