Update dsmon.sh

This commit is contained in:
2024-01-26 10:06:13 -06:00
parent 00b23dc941
commit 481de4c7f9

View File

@@ -360,8 +360,11 @@ RUNCMD(){
# [ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}\n"
# fi
# rm -f ${nodecmd}
echo ${nodecmd}
((nc_count++))
if [[ "${nodecmd}" != *"*"* ]]; then
echo ${nodecmd}
rm -f ${nodecmd}
((nc_count++))
fi
done
echo "${ncount} - ${nc_count}\n"
if [ ${nc_count} -eq ${ncount} ]; then