summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-24 17:21:13 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-24 17:21:13 -0300
commitc2920f6ba22b973a9c8b706b18dca2b8930877c2 (patch)
tree55fb1424fd56856d769c37161caf923e30b39f23
parent1793a5c44159d46e11f3d4d25f4dbfb588ef4f22 (diff)
Not using docker-compose to check VPN ip
-rwxr-xr-xyams2
1 files changed, 1 insertions, 1 deletions
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