From 37bac1151780e78bcb2477c4ab9d555550b3318e Mon Sep 17 00:00:00 2001 From: poslop Date: Thu, 26 Jun 2025 12:10:41 -0500 Subject: [PATCH] fix variables --- CloneToDisk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CloneToDisk.sh b/CloneToDisk.sh index 9afd05b..6c128c4 100755 --- a/CloneToDisk.sh +++ b/CloneToDisk.sh @@ -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