ddns-script: removes linefeed which causes 401 err

The linefeed at the end causes ovh-api to return 401 even if the
password is correct.

Fixes #27693

Signed-off-by: Fabian Zimmermann <dev.faz@gmail.com>
This commit is contained in:
Fabian Zimmermann
2025-10-22 11:50:57 +02:00
committed by Florian Eckert
parent 59465b95b8
commit 0201efd635
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.2
PKG_RELEASE:=79
PKG_RELEASE:=80
PKG_LICENSE:=GPL-2.0

View File

@@ -12,7 +12,7 @@
http_basic_encoding() {
local user="$1"
local password="$2"
echo "${user}:${password}" | openssl base64
printf "${user}:${password}" | openssl base64 -in /dev/stdin
}
[ -z "$domain" ] && write_log 14 "Service section not configured correctly! Missing domain name as 'Domain'"