From 4e15a6ba3eede92cc2de7eca879b6bbe6ee20e93 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 23:07:06 -0600 Subject: [PATCH] asd --- functions/menu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/menu.sh b/functions/menu.sh index a6a5eee0..7d065b58 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -132,7 +132,7 @@ case $selection in exit ;; 1) - printf '%s\0' "${update_selection[@]}" | grep -Fxqz '-b' && echo -e "$OPTARG is already on here, skipping" && sleep 5 && continue #If option is already on there, skip it + printf '%s\0' "${update_selection[@]}" | grep -Fxq '-b' && echo -e "$OPTARG is already on here, skipping" && sleep 5 && continue #If option is already on there, skip it echo "Up to how many backups should we keep?" read -rt 600 -p "Please type an integer: " up_backups ! [[ $up_backups =~ ^[0-9]+$ ]] && echo -e "Error: \"$up_backups\" is invalid, it needs to be an integer\nNOT adding it to the list" && sleep 5 && continue