Update status.inc

This commit is contained in:
2023-12-06 23:37:53 -06:00
parent b007e58bed
commit 7ff81bfd15

View File

@@ -831,7 +831,7 @@ STATUS_SCANTIMES(){
IFS=$'\n' IFS=$'\n'
read -rd '' -a last_scantimes <<<"${last_scantimes}" read -rd '' -a last_scantimes <<<"${last_scantimes}"
unset IFS unset IFS
echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}---------------------------------${idsCL[Default]}" echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}"
for scantime in "${last_scantimes[@]}"; do for scantime in "${last_scantimes[@]}"; do
if [[ "${scantime}" = *"~"* ]]; then if [[ "${scantime}" = *"~"* ]]; then
dt="${scantime%~*}" dt="${scantime%~*}"
@@ -839,7 +839,7 @@ STATUS_SCANTIMES(){
else else
dt=" " dt=" "
fi fi
echo -e "${idsCL[White]} ${dt} (${scantime}s) $(SHOW_TIME ${scantime} s)${idsCL[Default]}" echo -e "${idsCL[White]} ${dt} (${scantime}s) ${idsCL[LightCyan]}$(SHOW_TIME ${scantime} s)${idsCL[Default]}"
done done
fi fi
fi fi