Update nodemgmt-scripts.sh

This commit is contained in:
2024-12-21 10:58:20 -06:00
parent 9d91faac9a
commit a7ca9a748a

View File

@@ -813,7 +813,7 @@ RUN_COMMAND(){
if [ ! -f /tmp/nmg.run.${nip} ]; then
# echo "Running command: ${NCMD} ${RUNCMD}"
${NCMD} ${RUNCMD}
[ "${NCMD}" != "" ] && ${NCMD} "${RUNCMD}" || ${RUNCMD}
touch /tmp/nmg.run.${nip}
else
echo "Skipping, already ran command on this host"