Update dsmon.sh
This commit is contained in:
1 parent
9a8f7e850c
commit
e9971467b7
1 file changed
+1
-1
@@ -149,7 +149,7 @@ CHECK(){
|
|||||||
if [ "${NTS}" != "*" ]; then
|
if [ "${NTS}" != "*" ]; then
|
||||||
hoststatus=$(cat /tmp/dscheck.${NTS}.results)
|
hoststatus=$(cat /tmp/dscheck.${NTS}.results)
|
||||||
[ "${hoststatus}" != "" ] && echo -e "${hoststatus}"
|
[ "${hoststatus}" != "" ] && echo -e "${hoststatus}"
|
||||||
rm -f /tmp/dscheck.${NTS}.*
|
#rm -f /tmp/dscheck.${NTS}.*
|
||||||
((nc_count++))
|
((nc_count++))
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user