From 4852b89aa4433721136f158f1e971a4a9786ed02 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 4 May 2022 19:06:56 +0200 Subject: [PATCH] Update run --- qbittorrent/rootfs/etc/services.d/nginx/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/services.d/nginx/run b/qbittorrent/rootfs/etc/services.d/nginx/run index 045a1e724..e07b47a10 100644 --- a/qbittorrent/rootfs/etc/services.d/nginx/run +++ b/qbittorrent/rootfs/etc/services.d/nginx/run @@ -6,11 +6,11 @@ bashio::net.wait_for 8080 localhost 900 if [ -f /currentip ]; then - if [[ "$(curl ipecho.net/plain)" = "$(cat /currentip)" ]]; then + if [[ "$(curl -s ipecho.net/plain)" = "$(cat /currentip)" ]]; then bashio::log.fatal "VPN is not properly configured. Your ip is exposed. Please fix this, or do not use the vpn alt mode" bashio::exit.nok else - bashio::log "VPN is up and running with ip $(curl ipecho.net/plain)" + bashio::log "VPN is up and running with ip $(curl -s ipecho.net/plain)" fi fi