(y)es / (n)o in prompt
This commit is contained in:
parent
bf53499694
commit
9cb0086352
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue