Date: Sun, 27 Jan 2013 14:49:54 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245980 - head/usr.sbin/bsdinstall/scripts Message-ID: <201301271449.r0REnsew071683@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Sun Jan 27 14:49:54 2013 New Revision: 245980 URL: http://svnweb.freebsd.org/changeset/base/245980 Log: Properly quote argument. MFC after: 3 days Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ============================================================================== --- head/usr.sbin/bsdinstall/scripts/wlanconfig Sun Jan 27 12:52:08 2013 (r245979) +++ head/usr.sbin/bsdinstall/scripts/wlanconfig Sun Jan 27 14:49:54 2013 (r245980) @@ -60,7 +60,7 @@ NETWORKS=`echo "$SCAN_RESULTS" | awk -F '/..:..:..:..:..:../ {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 $@
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301271449.r0REnsew071683>