Update nodemgmt-scripts.sh
This commit is contained in:
@@ -813,7 +813,7 @@ RUN_COMMAND(){
|
|||||||
if [ ! -f /tmp/nmg.run.${nip} ]; then
|
if [ ! -f /tmp/nmg.run.${nip} ]; then
|
||||||
|
|
||||||
# echo "Running command: ${NCMD} ${RUNCMD}"
|
# echo "Running command: ${NCMD} ${RUNCMD}"
|
||||||
${NCMD} ${RUNCMD}
|
[ "${NCMD}" != "" ] && ${NCMD} "${RUNCMD}" || ${RUNCMD}
|
||||||
touch /tmp/nmg.run.${nip}
|
touch /tmp/nmg.run.${nip}
|
||||||
else
|
else
|
||||||
echo "Skipping, already ran command on this host"
|
echo "Skipping, already ran command on this host"
|
||||||
|
|||||||
Reference in New Issue
Block a user