From c2920f6ba22b973a9c8b706b18dca2b8930877c2 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Tue, 24 Jan 2023 17:21:13 -0300 Subject: Not using docker-compose to check VPN ip --- yams | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yams b/yams index 5f1403b..7ca1622 100755 --- a/yams +++ b/yams @@ -52,7 +52,7 @@ fi if [ $option == "check-vpn" ]; then echo "Getting your qBittorrent IP..." - qbittorrent_ip=$($dc exec qbittorrent sh -c "curl -s ifconfig.me"); + qbittorrent_ip=$(docker exec qbittorrent sh -c "curl -s ifconfig.me"); echo "$qbittorrent_ip" echo "Your country in qBittorrent is $($dc exec -it qbittorrent sh -c 'curl -s https://am.i.mullvad.net/country')" echo -- cgit v1.2.3