Update dsmon.sh

This commit is contained in:
2025-06-14 10:11:53 -05:00
parent cdb2600d29
commit cb8091e15e

View File

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