Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 21:18:25 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309947 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201612122118.uBCLIPxg037483@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Mon Dec 12 21:18:24 2016
New Revision: 309947
URL: https://svnweb.freebsd.org/changeset/base/309947

Log:
  Remove unnecessary semi-colons

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig	Mon Dec 12 21:16:37 2016	(r309946)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig	Mon Dec 12 21:18:24 2016	(r309947)
@@ -216,7 +216,7 @@ while :; do
 	NETWORKS=$( echo "$SCAN_RESULTS" | awk -F '\t' '
 		/..:..:..:..:..:../ {
 			if (length($5) > 0)
-				printf("\"%s\"\t%s\n", $5, $4);
+				printf("\"%s\"\t%s\n", $5, $4)
 		}
 	' | sort | uniq )
 
@@ -273,7 +273,7 @@ while :; do
 done
 
 [ "$ENCRYPTION" ] || ENCRYPTION=$( echo "$NETWORKS" |
-	awk -F '\t' "/^\"$NETWORK\"\t/ { printf(\"%s\n\", \\\$2 ); }" )
+	awk -F '\t' "/^\"$NETWORK\"\t/ { printf(\"%s\n\", \\\$2 ) }" )
 
 if echo $ENCRYPTION | grep -q 'PSK'; then
 	exec 3>&1
@@ -317,8 +317,8 @@ elif echo $ENCRYPTION | grep -q EAP; the
 		scan_ssid=$SCANSSID
 		key_mgmt=WPA-EAP$(
 		echo "$USERPASS" | awk '
-			NR == 1 { printf "\n\t\tidentity=\"%s\"", $1; }
-			NR == 2 { printf "\n\t\tpassword=\"%s\"", $1; }
+			NR == 1 { printf "\n\t\tidentity=\"%s\"", $1 }
+			NR == 2 { printf "\n\t\tpassword=\"%s\"", $1 }
 		' )
 		priority=5
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612122118.uBCLIPxg037483>