git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
78ef7d7
)
ddns-scripts-cloudflare: fix shell conditional
author
Glen Huang
<redacted>
Sat, 15 Jan 2022 14:33:07 +0000
(22:33 +0800)
committer
Glen Huang
<redacted>
Sat, 15 Jan 2022 14:33:28 +0000
(22:33 +0800)
Signed-off-by: Glen Huang <redacted>
net/ddns-scripts/files/usr/lib/ddns/update_cloudflare_com_v4.sh
patch
|
blob
|
history
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 82ea417da42657d2ff48907720cbe84eff976b84..4fb3a0dd6b888f2a3102d4273f93a083cb5ce65b 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT