ddns-scripts-cloudflare: fix shell conditional 17617/head
authorGlen Huang <heyhgl@gmail.com>
Sat, 15 Jan 2022 14:33:07 +0000 (22:33 +0800)
committerGlen Huang <heyhgl@gmail.com>
Sat, 15 Jan 2022 14:33:28 +0000 (22:33 +0800)
Signed-off-by: Glen Huang <heyhgl@gmail.com>
net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh

index 82ea417da42657d2ff48907720cbe84eff976b84..4fb3a0dd6b888f2a3102d4273f93a083cb5ce65b 100644 (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