ddns-scripts-cloudflare: fix shell conditional

Signed-off-by: Glen Huang <heyhgl@gmail.com>
pull/17617/head
Glen Huang 2022-01-15 22:33:07 +08:00
parent 78ef7d7379
commit aed4dbf349
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ else
fi
__PRGBASE="$__PRGBASE --header 'Content-Type: application/json' "
if [ -n "$zone_id"]; then
if [ -n "$zone_id" ]; then
__ZONEID="$zone_id"
else
# read zone id for registered domain.TLD