Update dsmon.sh
This commit is contained in:
7
dsmon.sh
7
dsmon.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user