Update status.inc

This commit is contained in:
2023-12-05 21:44:58 -06:00
parent 7c2050a48c
commit 1de2d2c20b

View File

@@ -794,7 +794,8 @@ STATUS_SCANTIMES(){
scantimes_total=$(bc <<< "scale=2; ${scantimes_total}+${scantime}")
((scansfound++))
done
average=$(bc <<< "scale=0; ${scantimes_total}/${scansfound}")
average=$(bc <<< "scale=2; ${scantimes_total}/${scansfound}")
average=$(echo ${average} | awk '{print int($average+0.5)}')
echo -en "\r\033[K"