Update dsmon.sh
This commit is contained in:
4
dsmon.sh
4
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
|
||||
|
||||
Reference in New Issue
Block a user