From 850aece8b4f6fee6fdf238996251699939403e3f Mon Sep 17 00:00:00 2001 From: konsthol Date: Wed, 18 Dec 2024 00:29:38 +0200 Subject: [PATCH] A fix I believe, not like I tested or anything --- grpoppro | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/grpoppro b/grpoppro index b9e0db6..d4bdb9e 100755 --- a/grpoppro +++ b/grpoppro @@ -12,9 +12,11 @@ player="mpv" mkdir -p "$GRPOPPRO_DATA_DIR" -if nmcli connection show --active | grep -i -q wireguard; then - echo exiting because vpn is active - exit 0 +if [[ "$OSTYPE" == "linux-gnu" ]]; then + if nmcli connection show --active | grep -i -q wireguard; then + echo "Exiting because a vpn connection is active" + exit 0 + fi fi function getFzfForTermux {