fix: fix of previous commit and small refactor

This commit is contained in:
th33xitus
2021-09-12 20:46:11 +02:00
parent 68327262fc
commit 65bf3d5251
4 changed files with 23 additions and 26 deletions

View File

@@ -74,7 +74,7 @@ upload_selection(){
back_footer
while true; do
read -p "${cyan}Please select:${default} " choice
if [ $choice = "q" ] || [ $choice = "Q" ]; then
if [ $choice = "b" ] || [ $choice = "B" ]; then
clear && main_menu && break
elif [ $choice -le ${#logfiles[@]} ]; then
upload_log "${logfiles[$choice]}"