From 91c9952bd4aa762c5445d1bc3979a31dc409c380 Mon Sep 17 00:00:00 2001 From: Dane Williams Date: Sun, 15 Mar 2020 14:24:45 -0700 Subject: [PATCH] should get ssid working --- network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network.sh b/network.sh index 62c20f5..39349e2 100755 --- a/network.sh +++ b/network.sh @@ -8,7 +8,7 @@ get_ssid() { if /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | awk -F: '/ SSID/{print $2}' &>/dev/null - /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | awk -F: '/ SSID/{print $2}' + echo $(/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | awk -F: '/ SSID/{print $2}') else echo 'Ethernet' fi