From 65ae3fcfc824a65978348f93dec41e5d560d40c1 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 5 Dec 2023 22:16:29 -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 a1e2c1c2..e3b03db5 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -785,7 +785,7 @@ STATUS_SCANTIMES(){ echo -en "${idsCL[Yellow]}Pulling data and calculating average scan times for the last '${LAST}' scans ... " - lastscansnum=10 + lastscansnum=${LAST} last_scantimes=($(tail -n ${lastscansnum} ${NM_LOGFOLDER}/status-check.scantimes)) lastscantime=$(tail -n 1 ${NM_LOGFOLDER}/status-check.scantimes)