From 00ec37a6a04839de0e14599951269df06ab55f32 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 11 Jan 2024 14:08:31 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index c25c04df..e7f20881 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -1005,7 +1005,7 @@ STATUS_SCANTIMES(){ echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}" 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 + if [ "${choice^^}" == "A" ] || ([ "${choice^^}" == "N" ] && [ ${scanrun} -eq 0 ]) || ([ "${choice^^}" == "R" ] && [ ${scanrun} -eq 1 ]) || ([ "${choice^^}" == "C" ] && [ ${scanrun} -eq 2 ]); then scandate=$(echo "${scan}" | cut -d '~' -f 1) scantime=$(echo "${scan}" | cut -d '~' -f 2) echo -en "${idsCL[White]} ${scandate} (${scantime}s) ${idsCL[Yellow]}$(SHOW_TIME ${scantime} s) "