Change condition for VPN leakage service start

This commit is contained in:
Alexandre
2025-11-24 09:09:21 +01:00
committed by GitHub
parent 5fd7b5ed32
commit 72d1071fa5

View File

@@ -231,7 +231,7 @@ echo "$(_fetch_public_ip || true)" > /currentip
if bashio::config.true 'openvpn_enabled'; then
# Start Leak Monitor
if [[ -s /currentip ]]; then
if [[ ! -s /currentip ]]; then
bashio::log.warning "Could not fetch public ip, the vpn leakage service will not run"
else
_vpn_monitor_public_ip "OpenVPN" &