summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-01-27 14:49:54 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-01-27 14:49:54 +0000
commit0f7cb9fb6754a229de2f21ea0062775b645a26c4 (patch)
tree5271332a9866caf4e29f8c400846855bd57969ab /usr.sbin
parentd622325e53fd0213024c18d33b160e10e75c67db (diff)
downloadFreeBSD-src-0f7cb9fb6754a229de2f21ea0062775b645a26c4.zip
FreeBSD-src-0f7cb9fb6754a229de2f21ea0062775b645a26c4.tar.gz
Properly quote argument.
MFC after: 3 days
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/wlanconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig
index 6894279..0a3599c 100755
--- a/usr.sbin/bsdinstall/scripts/wlanconfig
+++ b/usr.sbin/bsdinstall/scripts/wlanconfig
@@ -60,7 +60,7 @@ NETWORKS=`echo "$SCAN_RESULTS" | awk -F '\t' \
'/..:..:..:..:..:../ {if (length($5) > 0) printf("\"%s\"\t%s\n", $5, $4);}' |
sort | uniq`
-if [ -z $NETWORKS ]; then
+if [ -z "$NETWORKS" ]; then
dialog --backtitle "FreeBSD Installer" --title "Error" \
--yesno "No wireless networks were found. Rescan?" 0 0 && \
exec $0 $@
OpenPOWER on IntegriCloud