From f09fd8545924bfe66bbc7f4b7b3f06e5b45a6267 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 16 Dec 2023 23:32:40 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 0ed6abb1..034deadc 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -800,6 +800,7 @@ REPLSTART(){ } STATUS_SCANTIMES(){ + start=$(date +%s) scandefault=200 while [ $# -gt 0 ]; do case "${1}" in @@ -907,8 +908,8 @@ STATUS_SCANTIMES(){ done fi fi - - echo -e "\n" + end=`date +%s`; runtime=$((end-start)) + echo -e "\nRuntime: ${runtime}\n" }