From 52f7e291512a3fe8fbe4fe4eb6829e38378b541b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 14:53:08 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsmon.sh b/dsmon.sh index 4e64225..d39ba97 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -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\033[2K" + echo -en "\r\033[2K\033[1A" for host in /tmp/dscheck.*.done; do NTS=$(grep -oP '(?<=dscheck\.).*?(?=\.done)' <<< "${host}") if [ -n "$NTS" ]; then