From e343526124484abc6b1a3ba71b95b33fbd34d31c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Dec 2023 22:43:47 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index 6a84cc28..e2ffb71a 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -775,7 +775,7 @@ STATUS_SCANTIMES(){ scantimes=($(tail -n ${LAST} ${NM_LOGFOLDER}/status-check.scantimes)) scantimes_total=0 for scantime in "${scantimes[@]}"; do - scantimes_total=((${scantimes_total}+${scantime})) + scantimes_total=$(bc <<< "scale=1; ${scantimes_total}+${scantime}") done average=$(bc <<< "scale=1; ${scantimes_total}/${LAST}")