Browse Source

Merge pull request #17617 from hgl/ddns-cloudflare

ddns-scripts-cloudflare: fix shell conditional
lilik-openwrt-22.03
Florian Eckert 3 years ago
committed by GitHub
parent
commit
b4694bb82c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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