1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

freebsd-update: Allow for upper/lowercase y/n

Allow for upper/lowercase y/n in "Does this look right?" question.

Reviewed by:		emaste
Approved by:		emaste
Differential revision:	https://reviews.freebsd.org/D40434
This commit is contained in:
Juraj Lutter 2023-09-17 18:15:27 +02:00
parent 8a723e2bd8
commit 39f4633b3d

View File

@ -1202,10 +1202,10 @@ fetch_progress () {
continuep () {
while read -p "Does this look reasonable (y/n)? " CONTINUE; do
case "${CONTINUE}" in
y*)
[yY]*)
return 0
;;
n*)
[nN]*)
return 1
;;
esac