Properly quote argument.

MFC after:	3 days
This commit is contained in:
Nathan Whitehorn 2013-01-27 14:49:54 +00:00
parent 6168020f66
commit c3955762b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245980

View File

@ -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 $@