From d262ad52f93628b8cb92bb50f3071cab6304dc29 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 20:21:48 -0600 Subject: [PATCH] test --- functions/menu.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/functions/menu.sh b/functions/menu.sh index 06c138b8..e4bff97a 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -33,10 +33,7 @@ case $selection in mount="true" ;; 4) - read -rt 600 -p "Please type the max number of backups to keep: " number_of_backups - ! [[ $number_of_backups =~ ^[0-9]+$ ]] && echo -e "Error: -b needs to be assigned an interger\n\"""$number_of_backups""\" is not an interger" >&2 && exit - [[ "$number_of_backups" -le 0 ]] && echo "Error: Number of backups is required to be at least 1" && exit - echo "Generating backup, please be patient for output.." + backup="true" ;; 5) restore="true"