Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Update menu.sh (#107)
Browse files Browse the repository at this point in the history
Fixed text typo in backup menu.
  • Loading branch information
ctag authored May 15, 2023
1 parent 6fbeeef commit 8659d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ backup_selection(){
exit
;;
1)
read -rt 120 -p "What is the maximun number of backups you would like?: " number_of_backups || { echo -e "${red}\nFailed to make a selection in time${reset}" ; exit; }
read -rt 120 -p "What is the maximum number of backups you would like?: " number_of_backups || { echo -e "${red}\nFailed to make a selection in time${reset}" ; exit; }
if ! [[ $number_of_backups =~ ^[0-9]+$ ]]; then
echo -e "${red}Error: The input must be an interger\n${blue}\"""$number_of_backups""\"${red} is not an interger${reset}" >&2
exit
Expand Down

0 comments on commit 8659d83

Please sign in to comment.