Update status.inc

This commit is contained in:
2024-01-11 14:10:15 -06:00
parent 00ec37a6a0
commit 6dc210479f

View File

@@ -1003,6 +1003,7 @@ 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