Update dsmon.sh

This commit is contained in:
2025-06-14 13:29:59 -05:00
parent 19507a91c6
commit de4a4cf08c

View File

@@ -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