Update dsmon.sh

This commit is contained in:
2025-06-13 21:06:20 -05:00
parent 84792941a5
commit 1b26abeda3

View File

@@ -148,6 +148,7 @@ CHECK(){
NTS=$(grep -oP '(?<=dscheck.).*?(?=.done)' <<< "${host}")
if [ "${NTS}" != "*" ]; then
echo -e "$(cat /tmp/dscheck.${NTS}.results)"
cp -f /tmp/dscheck.${NTS}.results /tmp/${NTS}.result
rm -f /tmp/dscheck.${NTS}.*
((nc_count++))
fi