diff --git a/dsmon.sh b/dsmon.sh index e6a4157..4d14642 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -154,7 +154,7 @@ CHECK(){ ((started_hosts++)) printf "\r${idsCL[LightCyan]}${MSG}${spc}: Started on %d of %d hosts ..." "${started_hosts}" "${#hostnames_sort[@]}" done - [ "${1}" != "report" ] && echo -e "\033[2K${idsCL[LightCyan]}${MSG}${spc}: ${idsCL[LightGreen]}Done${idsCL[Default]}" + [ "${1}" != "report" ] && echo -e "\r\033[2K${idsCL[LightCyan]}${MSG}${spc}: ${idsCL[LightGreen]}Done${idsCL[Default]}" shopt -s nullglob nc_count=0; completed=false; scanstart=$(date +%s)