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