Permalink
Browse files

fix (renamed?) variable. seems like parser has been renamed to awkscr…

…ipt but not everywhere.
  • Loading branch information...
1 parent f4d3059 commit 43fa4148670a6d270537bdbec853d54cfdb66368 @krnlyng krnlyng committed Dec 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 wifi-pipe
View
@@ -51,7 +51,7 @@ print_menu() {
/\<IE:.*WPA.*/ { security="wpa" }
END { if (essid) print essid, security, quality[2]/quality[3]*100 }'
- iwlist $interface scan 2>/dev/null | awk "$parser" | sort -t= -nrk3 > /tmp/networks.tmp
+ iwlist $interface scan 2>/dev/null | awk "$awkscript" | sort -t= -nrk3 > /tmp/networks.tmp
if [[ ! -s /tmp/networks.tmp ]]; then
rm /tmp/networks.tmp

0 comments on commit 43fa414

Please sign in to comment.