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

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