From 18a231e9712504467ff35369f1685f9036e8c375 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Sat, 30 Jul 2022 17:07:28 -0600 Subject: [PATCH] colon and spaces --- functions/backup.sh | 6 +++--- functions/mount.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/backup.sh b/functions/backup.sh index 07a6fb23..58fa1904 100644 --- a/functions/backup.sh +++ b/functions/backup.sh @@ -67,7 +67,7 @@ do clear -x echo -e "\nWARNING:\nYou CANNOT go back after deleting your restore point" echo -e "\n\nYou have chosen:\n$restore_point\n\n" - read -rt 120 -p "Would you like to proceed with deletion? (y/N) " yesno || { echo -e "\nFailed to make a selection in time" ; exit; } + read -rt 120 -p "Would you like to proceed with deletion? (y/N): " yesno || { echo -e "\nFailed to make a selection in time" ; exit; } case $yesno in [Yy] | [Yy][Ee][Ss]) echo -e "\nDeleting $restore_point" @@ -88,7 +88,7 @@ do done while true do - read -rt 120 -p "Delete more backups? (y/N)" yesno || { echo -e "\nFailed to make a selection in time" ; exit; } + read -rt 120 -p "Delete more backups? (y/N): " yesno || { echo -e "\nFailed to make a selection in time" ; exit; } case $yesno in [Yy] | [Yy][Ee][Ss]) break @@ -148,7 +148,7 @@ do clear -x echo -e "\nWARNING:\nThis is NOT guranteed to work\nThis is ONLY supposed to be used as a LAST RESORT\nConsider rolling back your applications instead if possible" echo -e "\n\nYou have chosen:\n$restore_point\n\n" - read -rt 120 -p "Would you like to proceed with restore? (y/N) " yesno || { echo -e "\nFailed to make a selection in time" ; exit; } + read -rt 120 -p "Would you like to proceed with restore? (y/N): " yesno || { echo -e "\nFailed to make a selection in time" ; exit; } case $yesno in [Yy] | [Yy][Ee][Ss]) echo -e "\nStarting Backup, this will take a LONG time." diff --git a/functions/mount.sh b/functions/mount.sh index b866d489..ba2a1955 100644 --- a/functions/mount.sh +++ b/functions/mount.sh @@ -59,7 +59,7 @@ do while true do echo - read -rt 120 -p "Would you like to mount anything else? (y/N) " yesno || { echo -e "\nFailed to make a selection in time" ; exit; } + read -rt 120 -p "Would you like to mount anything else? (y/N): " yesno || { echo -e "\nFailed to make a selection in time" ; exit; } case $yesno in [Yy] | [Yy][Ee][Ss]) clear -x