From aed4dbf34960543de5637ba97bb85a0d3b66874e Mon Sep 17 00:00:00 2001 From: Glen Huang Date: Sat, 15 Jan 2022 22:33:07 +0800 Subject: [PATCH] ddns-scripts-cloudflare: fix shell conditional Signed-off-by: Glen Huang --- net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh b/net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh index 82ea417da..4fb3a0dd6 100644 --- a/net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh +++ b/net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh @@ -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