Update nodemgmt-scripts.sh

This commit is contained in:
2024-12-01 18:51:03 -06:00
parent bd7725d34d
commit ea0061505e

View File

@@ -787,12 +787,12 @@ RUN_COMMAND(){
NT_HOSTS=${nodetype}_HOSTS[@]
NTS=("${nodetype}");
else
echo -e "${idsCL[Magenta]}"${nodetype}" is an unknown NodeType.${idsCL[Default]}\n"
echo -e "${idsCL[Red]}"${nodetype}" is an unknown NodeType.${idsCL[Default]}\n"
exit 1
fi
fi
if [ -z ${RUNCMD+x} ]; then
echo -e "${idsCL[Magenta]}No command specified to run. (Use nmg run -cmd \"command to run\")${idsCL[Default]}\n"
echo -e "${idsCL[Red]}No command specified to run. (Use nmg run -cmd \"command to run\")${idsCL[Default]}\n"
exit 1
fi
for NTYPE in "${NTS[@]}"; do