fix variables

This commit is contained in:
poslop
2025-06-26 12:10:41 -05:00
parent c0eb1b1302
commit 37bac11517

View File

@@ -27,11 +27,11 @@ echo
read -rp "Enter the name of the usb partition in /dev/mapper (e.g., sda1): " disk_suffix read -rp "Enter the name of the usb partition in /dev/mapper (e.g., sda1): " disk_suffix
usb_name="/dev/mapper/${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 if [[ $user_response != y ]]; then
echo "Exiting script" echo "Exiting script"
exit 1 exit
fi fi
# Mount Ventoy # Mount Ventoy