Update status.inc

This commit is contained in:
2023-12-17 09:28:43 -06:00
parent 3612133334
commit 5791731b0f

View File

@@ -801,7 +801,7 @@ REPLSTART(){
STATUS_SCANTIMES(){
start=$(date +%s)
scandefault=200
scandefault=1440
while [ $# -gt 0 ]; do
case "${1}" in
-l|-last) LAST=${2};;
@@ -831,7 +831,7 @@ STATUS_SCANTIMES(){
for scantime in "${scantimes[@]}"; do
[[ "${scantime}" = *"~"* ]] && scantime=${scantime#*~}
[ ${scantime} -gt ${longest_scantime} ] && longest_scantime=${scantime}
if [ ${scantime} -le 29 ]; then
if [ ${scantime} -lt 30 ]; then
scantimes_total_norm=$(bc <<< "scale=2; ${scantimes_total_norm}+${scantime}")
((scansfound_norm++))
elif [ ${scantime} -le 60 ]; then