Update case statement

This commit is contained in:
aclist authored and GitHub committed 2022-01-11 18:50:42 +09:00
1 parent 4bedbfbf19
commit 0f4dbed599
1 file changed
+2 -2
+2 -2
View File
@@ -247,7 +247,7 @@ main(){
checks checks
init_table init_table
while true; do while true; do
printf "\n" menu
read -p "Selection: " sel read -p "Selection: " sel
if [[ $sel =~ ^[0-9]+$ ]]; then if [[ $sel =~ ^[0-9]+$ ]]; then
if [[ $sel -gt $max_range ]]; then if [[ $sel -gt $max_range ]]; then
@@ -261,7 +261,7 @@ main(){
r) init_table ;; r) init_table ;;
f) launch_fav ;; f) launch_fav ;;
l) list_mods ;; l) list_mods ;;
q) exit ;; q) exit_msg ;;
*) : ;; *) : ;;
esac esac
fi fi