Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 02:54:44 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309997 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201612130254.uBD2si2H075319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612130254.uBD2si2H075319>