Update dsmon.sh

This commit is contained in:
2025-06-14 10:16:43 -05:00
parent f44cf72146
commit e0be438ac0

View File

@@ -144,7 +144,10 @@ CHECK(){
for host in /tmp/dscheck.*.done; do
NTS=$(grep -oP '(?<=dscheck\.).*?(?=\.done)' <<< "${host}")
if [ -n "$NTS" ]; then
cat -vte /tmp/dscheck.${NTS}.results
# cat /tmp/dscheck.${NTS}.results
while read -r line; do
printf "%s\n" "$line"
done < /tmp/dscheck.${NTS}.results
rm -f /tmp/dscheck.${NTS}.* >/dev/null 2>&1
((nc_count++))
fi