aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2021-06-29 17:59:59 +0000
committerColin Percival <cperciva@FreeBSD.org>2021-06-29 18:00:54 +0000
commit2ef5995f49c9558ddad4d50810d4528b79afff4a (patch)
tree6224f10252b4b7b26454ca0a113cf9df656d5bd3 /usr.sbin
parenta9f5512f072d1b4e7a6bd8c3418df1213131efb1 (diff)
downloadsrc-2ef5995f49c9558ddad4d50810d4528b79afff4a.tar.gz
src-2ef5995f49c9558ddad4d50810d4528b79afff4a.zip
portsnap: Remove superfluous semicolons
Submitted by: des
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/portsnap/portsnap/portsnap.sh10
1 files 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"