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 $@
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to