(y)es / (n)o in prompt

This commit is contained in:
Brennen Bearnes 2015-04-13 05:35:40 +00:00
parent bf53499694
commit 9cb0086352

View file

@ -66,7 +66,7 @@ fi
info "start" "Will create new ext4 filesystem on ${target_drive}"
info "start" "If there is data on ${target_drive}, it will be lost."
read -p "Really proceed? " -n 1 -r
read -p "Really proceed? (y)es / (n)o " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]
then