Author: dteske
Date: Tue Dec 13 02:54:44 2016
New Revision: 309997
URL: https://svnweb.freebsd.org/changeset/base/309997

Log:
  The flags of a WLAN need to be quoted (they contain things like brackets)

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:48:14 2016        
(r309996)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:54:44 2016        
(r309997)
@@ -208,7 +208,7 @@ while :; do
 
        f_eval_catch -dk SCAN_RESULTS wlanconfig wpa_cli "wpa_cli scan_results"
        NETWORKS=$( echo "$SCAN_RESULTS" | awk -F '\t' '
-               /..:..:..:..:..:../ && $5 { printf "\"%s\"\t%s\n", $5, $4 }
+               /..:..:..:..:..:../ && $5 { printf "\"%s\"\t\"%s\"\n", $5, $4 }
        ' | sort | uniq )
 
        if [ ! "$NETWORKS" ]; then
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to