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" }