feat: KIAUH v4.0.0 #191

Merged
dw-0 merged 453 commits from v4-rc into master 2022-05-29 20:11:16 +02:00
Showing only changes of commit c76d7402d3 - Show all commits

View File

@@ -87,7 +87,7 @@ function upload_selection(){
back_footer
while true; do
read -p "${cyan}###### Please select:${white} " option
if [ -n "${option}" ] && ((option < ${#logfiles[@]})); then
if [[ -n "${option}" && "${option}" -ge 0 && "${option}" -lt "${#logfiles[@]}" ]]; then
upload_log "${logfiles[${option}]}"
upload_selection
elif [[ "${option}" == "B" || "${option}" == "b" ]]; then