git: e50daba0e496 - main - Remove extraneous semicolons trailing break and continue statements.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Mar 2022 17:48:25 UTC
The branch main has been updated by schweikh:
URL: https://cgit.FreeBSD.org/src/commit/?id=e50daba0e496c271cdd1056ffcbab513348b3de9
commit e50daba0e496c271cdd1056ffcbab513348b3de9
Author: Jens Schweikhardt <schweikh@FreeBSD.org>
AuthorDate: 2022-03-29 17:43:00 +0000
Commit: Jens Schweikhardt <schweikh@FreeBSD.org>
CommitDate: 2022-03-29 17:48:11 +0000
Remove extraneous semicolons trailing break and continue statements.
---
usr.sbin/bsdinstall/scripts/zfsboot | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index 4867538354cb..1c689af5c497 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -1619,7 +1619,7 @@ for pool in ${pools}; do
if [ "${pool}" = "${ZFSBOOT_POOL_NAME}" ]; then
f_dprintf "Pool ${pool} already taken"
ZFSBOOT_POOL_NAME=$(dialog_zpool_name "${ZFSBOOT_POOL_NAME}")
- break;
+ break
fi
done
@@ -1809,14 +1809,14 @@ while :; do
if [ $swapsize -ne 0 -a $swapsize -lt 104857600 ]; then
f_show_err "$msg_swap_toosmall" \
"$ZFSBOOT_SWAP_SIZE"
- continue;
+ continue
else
- break;
+ break
fi
else
f_show_err "$msg_swap_invalid" \
"$ZFSBOOT_SWAP_SIZE"
- continue;
+ continue
fi
done
;;