Update dsmon.sh

This commit is contained in:
2025-06-14 09:31:20 -05:00
parent 424bbc573c
commit 841fed9e67

View File

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