fix backups

This commit is contained in:
Heavybullets8
2022-07-26 18:28:23 -06:00
parent 939ce2f731
commit 46184a7722
2 changed files with 5 additions and 3 deletions

View File

@ -34,6 +34,7 @@ menu(){
! [[ $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.."
menu_backup="true"
backup "$number_of_backups"
;;
5)