Update dsmon.sh

This commit is contained in:
2025-06-14 14:48:56 -05:00
parent 86e0e5f4df
commit f5779c73b0

View File

@@ -160,7 +160,7 @@ CHECK(){
nc_count=0; lc_count=0; completed=false; scanstart=$(date +%s)
until [ "${completed}" == "true" ]; do
until [ $(ls /tmp/dscheck.*.done 2>/dev/null | wc -l) -gt 0 ]; do tmp=tmp; done
echo -en "\r"
echo -en "\r\033[2K"
for host in /tmp/dscheck.*.done; do
NTS=$(grep -oP '(?<=dscheck\.).*?(?=\.done)' <<< "${host}")
if [ -n "$NTS" ]; then