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