diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2013-01-27 14:49:54 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2013-01-27 14:49:54 +0000 |
commit | 0f7cb9fb6754a229de2f21ea0062775b645a26c4 (patch) | |
tree | 5271332a9866caf4e29f8c400846855bd57969ab /usr.sbin | |
parent | d622325e53fd0213024c18d33b160e10e75c67db (diff) | |
download | FreeBSD-src-0f7cb9fb6754a229de2f21ea0062775b645a26c4.zip FreeBSD-src-0f7cb9fb6754a229de2f21ea0062775b645a26c4.tar.gz |
Properly quote argument.
MFC after: 3 days
Diffstat (limited to 'usr.sbin')
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/wlanconfig | 2 |
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 $@ |