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
+2 -2
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