mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 08:02:44 +00:00
fix invalid zone with cloudflare DNS API
This commit is contained in:
parent
b7caf7a016
commit
26a8f03051
@ -162,7 +162,7 @@ _get_root() {
|
||||
p=1
|
||||
|
||||
# Use Zone ID directly if provided
|
||||
if [ "$CF_Zone_ID" ]; then
|
||||
if [ -z "$CF_Zone_ID" ]; then
|
||||
if ! _cf_rest GET "zones/$CF_Zone_ID"; then
|
||||
return 1
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user