Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -173,7 +173,7 @@ CHECK(){
|
|||||||
|
|
||||||
if [ "${1}" != "report" ]; then
|
if [ "${1}" != "report" ]; then
|
||||||
# [ ${nc_count} -gt ${lc_count} ] &&
|
# [ ${nc_count} -gt ${lc_count} ] &&
|
||||||
echo
|
[ ${nc_count} -gt 0 ] && 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 "")
|
printf "\r${idsCL[LightCyan]}Completed on %d of %d hosts %s${idsCL[Default]}" "${nc_count}" "${#hostnames_sort[@]}" $([[ "$nc_count" -lt "${#hostnames_sort[@]}" ]] && echo " ..." || echo "")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user