Update dsmon.sh

This commit is contained in:
2025-06-14 14:41:42 -05:00
parent a4183a9c4c
commit c329af036a

View File

@@ -172,9 +172,7 @@ CHECK(){
((nc_count++))
fi
done
[ "${1}" != "report" ] && [ ${lc_count} -gt 0 ] && echo -e "\r\033[2K"
if [ "${1}" != "report" ]; then
[ ${nc_count} -gt ${lc_count} ] && echo
printf "\r${idsCL[LightCyan]}Completed on %d of %d hosts %s${idsCL[Default]}" "${nc_count}" "${#hostnames_sort[@]}" $([[ "$nc_count" -lt "${#hostnames_sort[@]}" ]] && echo " ..." || echo "")