From owner-dev-commits-src-all@freebsd.org Tue Jun 29 18:01:24 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 880E264FE59; Tue, 29 Jun 2021 18:01:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GDsjc2SwTz3hYN; Tue, 29 Jun 2021 18:01:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3AFF31D8B1; Tue, 29 Jun 2021 18:01:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15TI1OL4016756; Tue, 29 Jun 2021 18:01:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15TI1OkP016755; Tue, 29 Jun 2021 18:01:24 GMT (envelope-from git) Date: Tue, 29 Jun 2021 18:01:24 GMT Message-Id: <202106291801.15TI1OkP016755@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: 2ef5995f49c9 - main - portsnap: Remove superfluous semicolons MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ef5995f49c9558ddad4d50810d4528b79afff4a Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2021 18:01:24 -0000 The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=2ef5995f49c9558ddad4d50810d4528b79afff4a commit 2ef5995f49c9558ddad4d50810d4528b79afff4a Author: Colin Percival AuthorDate: 2021-06-29 17:59:59 +0000 Commit: Colin Percival CommitDate: 2021-06-29 18:00:54 +0000 portsnap: Remove superfluous semicolons Submitted by: des --- usr.sbin/portsnap/portsnap/portsnap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.sbin/portsnap/portsnap/portsnap.sh b/usr.sbin/portsnap/portsnap/portsnap.sh index 2edc51460642..ad40e3c9c95c 100644 --- a/usr.sbin/portsnap/portsnap/portsnap.sh +++ b/usr.sbin/portsnap/portsnap/portsnap.sh @@ -411,7 +411,7 @@ fetch_pick_server() { SRV_PRIORITY=`cut -f 1 -d ' ' serverlist | sort -n | head -1` # Add up the weights of the response lines at that priority level. - SRV_WSUM=0; + SRV_WSUM=0 while read X; do case "$X" in ${SRV_PRIORITY}\ *) @@ -771,7 +771,7 @@ fetch_update() { cut -f 2 -d '|' /dev/stdin patchlist | while read Y; do if [ ! -f "files/${Y}.gz" ]; then - echo ${Y}; + echo ${Y} fi done > filelist echo -n "Fetching `wc -l < filelist | tr -d ' '` " @@ -844,7 +844,7 @@ fetch_update() { YE=${Y#[0-9a-f][0-9a-f][0-9a-f][0-9a-f]} F="${X%${XE}}...${X#${XS}}-${Y%${YE}}...${Y#${YS}}" printf " Skipping ${F} (${I} of ${PATCHCNT}).\r" - continue; + continue fi echo " Processing ${F}..." 1>${QUIETREDIR} gunzip -c < files/${X}.gz > OLD @@ -863,7 +863,7 @@ fetch_update() { cut -f 2 -d '|' /dev/stdin patchlist | while read Y; do if [ ! -f "files/${Y}.gz" ]; then - echo ${Y}; + echo ${Y} fi done > filelist echo -n "Fetching `wc -l < filelist | tr -d ' '` " @@ -990,7 +990,7 @@ extract_run() { return 1 fi if [ ! -z "${EXTRACTPATH}" ]; then - return 0; + return 0 fi IFS="$oldifs"