1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-04-05 03:53:01 +02:00

Update case statement

This commit is contained in:
aclist 2022-01-11 18:50:42 +09:00 committed by GitHub
parent 4bedbfbf19
commit 0f4dbed599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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