Skip to content

Commit

Permalink
Update 01-openvpn.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Dec 11, 2023
1 parent 0772771 commit 22b9de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22b9de2

Please sign in to comment.