From 90d6f0b51d415088a6764f1d5dd0205ebe7fbce3 Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 6 May 2024 15:23:07 +0100 Subject: [PATCH] Fixed issue where the Org wouldn't display due to an error in the grep command --- Linux/speedtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 Linux/speedtest.sh diff --git a/Linux/speedtest.sh b/Linux/speedtest.sh old mode 100644 new mode 100755 index 660bec3..875fec4 --- a/Linux/speedtest.sh +++ b/Linux/speedtest.sh @@ -60,7 +60,7 @@ INFO=$(curl -s https://ipv4.am.i.mullvad.net/json | python -m json.tool) # Get Reported IP IP=$(echo "$INFO" | grep -oE '"ip":\s*"[^"]+"' | grep -oE '[0-9.]+') # Get Reported ISP -ORG=$(echo "$INFO" | grep -oP '(?<="organization": ")[^"]+') +ORG=$(echo "$INFO" | grep -oP '(?<="organization":")[^"]+')