fix question
This commit is contained in:
parent
4a08cb45d4
commit
3111605ce1
@ -45,7 +45,8 @@ read -p "Target drive is " targetDrive
|
||||
targetDrive=/dev/$targetDrive
|
||||
done
|
||||
#encrypted?
|
||||
while read -r -n 1 answer -p "Encrypted? (Y/N)" ; do
|
||||
echo "Encrypted? (Y/N)"
|
||||
while read -r -n 1 answer ; do
|
||||
if [[ $answer = [YyNn] ]]; then
|
||||
[[ $answer = [Yy] ]] && encryptedDevice=true && echo "WARNING You will be asked for password later" #read -p "Password: " encryptedPassword
|
||||
[[ $answer = [Nn] ]] && encryptedDevice=false
|
||||
|
Loading…
Reference in New Issue
Block a user