Update 93-openvpn.sh

This commit is contained in:
Alexandre
2022-09-03 08:03:44 +02:00
committed by GitHub
parent aab230afe7
commit a6b4dc73b6

View File

@@ -109,7 +109,9 @@ else
##################
# Ensure no redirection by removing the direction tag
sed -i '/Interface/d' "$QBT_CONFIG_FILE"
if [ -f "$QBT_CONFIG_FILE" ]; then
sed -i '/Interface/d' "$QBT_CONFIG_FILE"
fi
bashio::log.info "Direct connection without VPN enabled"
fi