commit d3b8c61ad3a8c06f531ccb0fa085d799470d21ed parent 7e157199cd8b61fc01db4aa27fa1e1768068ac05 Author: Cem Keylan <cem@ckyln.com> Date: Wed, 27 Nov 2019 17:31:10 +0300 fix ssid Diffstat:
M | func/sb_ssid | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/func/sb_ssid b/func/sb_ssid @@ -2,7 +2,7 @@ ssid() { [ -z "$1" ] && return 1 - SSID="$(iw dev "$1" info | grep ssid | awk '{print $2}')" + SSID="$(iw dev "$1" info | grep ssid | cut -d ' ' -f2- )" [ -z "$SSID" ] && return 1 printf "$SSID $DELIMETER " }