From 5791731b0f43ca2a5e0c6dca697f7226cfee38ca Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 17 Dec 2023 09:28:43 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 77f8192f..84cf6aec 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -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