mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
Change condition for VPN leakage service start
This commit is contained in:
@@ -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" &
|
||||
|
||||
Reference in New Issue
Block a user