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:
parent
8a723e2bd8
commit
39f4633b3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user