summaryrefslogtreecommitdiffstats
path: root/src/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireless')
-rw-r--r--src/wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wireless b/src/wireless
index f45028e..69d3de9 100644
--- a/src/wireless
+++ b/src/wireless
@@ -84,7 +84,7 @@ list_networks()
let try=0;
RETRIES=6;
while [[ $try -ne $RETRIES ]]; do
- iwlist $1 scan 2> /dev/null|grep ESSID|sed 's/.*ESSID:"\([^"]\+\)".*/\1/' > $essids
+ iwlist $1 scan 2> /dev/null | fgrep ESSID | sed 's/.*ESSID:"\([^"]\+\)".*/\1/' > $essids
sleep 0.5; let try++
done
sort -u $essids -o $essids