diff --git a/shell/select-option.sh b/shell/select-option.sh index 6afa4c7..d089682 100755 --- a/shell/select-option.sh +++ b/shell/select-option.sh @@ -144,7 +144,7 @@ function select_option { multiselected[$selected]=$(( 1 - ${multiselected[$selected]} )); ((selected++)); fi;; - ?) selected=$user_input;; + [0-9]*) selected=$user_input;; esac done