From 22b9de2eacbef42388c4517b5981fe5d91d47b58 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:38:45 +0100 Subject: [PATCH] Update 01-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh index e981c306b56..b41df6f3984 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh @@ -6,7 +6,7 @@ mkdir -p /config/openvpn QBT_CONFIG_FILE="/config/qBittorrent/config/qBittorrent.conf" # Correct openvpn files -if [[ bashio::config "VPN_ENABLED" == "yes" ]] && [[ bashio::config "VPN_TYPE" == "openvpn" ]]; then +if [[ "$(bashio::config "VPN_ENABLED")" == "yes" ]] && [[ "$(bashio::config "VPN_TYPE")" == "openvpn" ]]; then # If there is a config file, add nopull if [ -n "$(ls -A /config/openvpn 2>/dev/null)" ]; then