From ec4b5417ea3cfa147bd2e1dd0a56c968e7ad973a Mon Sep 17 00:00:00 2001 From: litinoveweedle <15144712+litinoveweedle@users.noreply.github.com> Date: Tue, 3 Feb 2026 22:58:12 +0100 Subject: [PATCH] fix DNS_server parsing --- qbittorrent/rootfs/usr/local/sbin/vpn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/usr/local/sbin/vpn b/qbittorrent/rootfs/usr/local/sbin/vpn index 02a2718be..72692c07f 100755 --- a/qbittorrent/rootfs/usr/local/sbin/vpn +++ b/qbittorrent/rootfs/usr/local/sbin/vpn @@ -33,7 +33,7 @@ _parse_dns() { local -a dns_backup_ipv6=("2001:4860:4860::8888" "2606:4700:4700::1111") local dns_servers=$(bashio::config 'DNS_server') - mapfile -d ',' -t dns_conf < <(echo "${dns_servers}" | tr -d ' ') + mapfile -d ',' -t dns_conf < <(echo "${dns_servers}" | tr -d ' ' | tr -d '\n') if [ ${config["IPv4Enabled"]} = "true" ]; then for dns_ip in "${dns_conf[@]}"; do local result=0