Browse Source

ddns-scripts-cloudflare: fix shell conditional

Signed-off-by: Glen Huang <heyhgl@gmail.com>
lilik-openwrt-22.03
Glen Huang 3 years ago
parent
commit
aed4dbf349
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh

+ 1
- 1
net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh View File

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


Loading…
Cancel
Save