ddns-scripts: remove extra pipe
authorAndré Herbst <redacted>
Mon, 31 Jan 2022 09:46:40 +0000 (10:46 +0100)
committerAndré Herbst <redacted>
Mon, 31 Jan 2022 09:46:40 +0000 (10:46 +0100)
The extra pipe caused an error WARN : PID 'xyz' exit WITH ERROR '2' when executing ddns update.
Signed-off-by: André Herbst <redacted>
net/ddns-scripts/Makefile
net/ddns-scripts/samples/update_sample.sh

index 873a33b1f1ef74e730a3cc801f28129e4d421ecf..acd856411fea3ebc9ab833c3c3f33988dc6f2106 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.8.2
-PKG_RELEASE:=22
+PKG_RELEASE:=23
 
 PKG_LICENSE:=GPL-2.0
 
index 00b51cbd2ec894bbd719b8cf5ba0f715877015e3..316dfa52ff9844e0bc0c961319db8990f431477b 100644 (file)
@@ -24,7 +24,7 @@ local __URL="http://[USERNAME]:[PASSWORD]@update.spdns.de/nic/update?hostname=[D
 [ -z "$password" ] && write_log 14 "Service section not configured correctly! Missing 'password'"
 
 # do replaces in URL
-__URL=$(echo $__URL |  | sed -e "s#\[USERNAME\]#$URL_USER#g" -e "s#\[PASSWORD\]#$URL_PASS#g" \
+__URL=$(echo $__URL | sed -e "s#\[USERNAME\]#$URL_USER#g" -e "s#\[PASSWORD\]#$URL_PASS#g" \
                             -e "s#\[PARAMENC\]#$URL_PENC#g" -e "s#\[PARAMOPT\]#$param_opt#g" \
                             -e "s#\[DOMAIN\]#$domain#g"     -e "s#\[IP\]#$__IP#g")
 [ $use_https -ne 0 ] && __URL=$(echo $__URL | sed -e 's#^http:#https:#')
git clone https://git.99rst.org/PROJECT