From dd4dd0744ce4762ddedd19ff134a7e3f965ce63c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 11 Jan 2024 14:10:42 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 5f83acde..1d03d1ec 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -986,7 +986,7 @@ STATUS_SCANTIMES(){ if [ ${scansfound_total} -gt 15 ]; then echo -en "\n${idsCL[LightCyan]}List out these '${scansfound_total}' scan times? (A)ll/(N)ormal/(R)epl/repl(C)lean/()none [default=no] : ${idsCL[Default]}" read -n1 choice - if [ "${choice^^}" == "A" ] || [ "${choice^^}" == "N" ] || [ "${choice}" == "R" ] || [ "${choice}" == "C" ]; then + if [ "${choice^^}" == "A" ] || [ "${choice^^}" == "N" ] || [ "${choice^^}" == "R" ] || [ "${choice^^}" == "C" ]; then echo -en "\r\033[K" gofor=1 else @@ -1003,7 +1003,6 @@ STATUS_SCANTIMES(){ read -rd '' -a last_scantimes <<<"${last_scantimes}" unset IFS echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}" - echo "HERE: ${choice^^} - ${scanrun}" for scan in "${last_scantimes[@]}"; do scanrun=$(echo "${scan}" | cut -d '~' -f 3) if [ "${choice^^}" == "A" ] || ([ "${choice^^}" == "N" ] && [ ${scanrun} -eq 0 ]) || ([ "${choice^^}" == "R" ] && [ ${scanrun} -eq 1 ]) || ([ "${choice^^}" == "C" ] && [ ${scanrun} -eq 2 ]); then