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" # [ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}\n"
# fi # fi
# rm -f ${nodecmd} # rm -f ${nodecmd}
echo ${nodecmd} if [[ "${nodecmd}" != *"*"* ]]; then
((nc_count++)) echo ${nodecmd}
rm -f ${nodecmd}
((nc_count++))
fi
done done
echo "${ncount} - ${nc_count}\n" echo "${ncount} - ${nc_count}\n"
if [ ${nc_count} -eq ${ncount} ]; then if [ ${nc_count} -eq ${ncount} ]; then