Update dsmon.sh

This commit is contained in:
2025-06-14 11:00:12 -05:00
parent ae3ae48c52
commit 51528c0e11

View File

@@ -132,7 +132,7 @@ CHECK(){
fi
for hostname in "${hostnames_sort[@]}"; do
until [ $(ls /tmp/dscheck.*.running 2>/dev/null | wc -l) -lt 6 ]; do tmp=tmp; done
RUN_CHECK ${hostname} > /tmp/dscheck.${hostname}.results
( RUN_CHECK ${hostname}; echo ) > /tmp/dscheck.${hostname}.results &
done
[ "${1}" != "report" ] && echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}\n"