From de4a4cf08cacbd37bcba4cf68718fa188dbbd59f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 13:29:59 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsmon.sh b/dsmon.sh index fbeb7ed..e6a4157 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -154,8 +154,8 @@ CHECK(){ ((started_hosts++)) printf "\r${idsCL[LightCyan]}${MSG}${spc}: Started on %d of %d hosts ..." "${started_hosts}" "${#hostnames_sort[@]}" done - [ "${1}" != "report" ] && echo -e "\r${idsCL[LightCyan]}${MSG}${spc}: Done${idsCL[Default]}" - sleep 2 + [ "${1}" != "report" ] && echo -e "\033[2K${idsCL[LightCyan]}${MSG}${spc}: ${idsCL[LightGreen]}Done${idsCL[Default]}" + shopt -s nullglob nc_count=0; completed=false; scanstart=$(date +%s) until [ "${completed}" == "true" ]; do