fix variables
This commit is contained in:
@@ -27,11 +27,11 @@ echo
|
||||
read -rp "Enter the name of the usb partition in /dev/mapper (e.g., sda1): " disk_suffix
|
||||
usb_name="/dev/mapper/${disk_suffix}"
|
||||
|
||||
read -rp "You are about to WRITE and ERASE disk ${disk_name} Are you sure? y/n " user_response
|
||||
read -rp "You are about to WRITE and ERASE disk ${disk_name} \nAre you sure? y/n: " user_response
|
||||
|
||||
if [[ $user_response != y ]]; then
|
||||
echo "Exiting script"
|
||||
exit 1
|
||||
exit
|
||||
fi
|
||||
|
||||
# Mount Ventoy
|
||||
|
||||
Reference in New Issue
Block a user