Update status.inc
This commit is contained in:
@@ -794,7 +794,8 @@ STATUS_SCANTIMES(){
|
|||||||
scantimes_total=$(bc <<< "scale=2; ${scantimes_total}+${scantime}")
|
scantimes_total=$(bc <<< "scale=2; ${scantimes_total}+${scantime}")
|
||||||
((scansfound++))
|
((scansfound++))
|
||||||
done
|
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"
|
echo -en "\r\033[K"
|
||||||
|
|||||||
Reference in New Issue
Block a user