diff --git a/dnsapi/dns_cf.sh b/dnsapi/dns_cf.sh index cd8d9a8d..ba3b024e 100755 --- a/dnsapi/dns_cf.sh +++ b/dnsapi/dns_cf.sh @@ -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