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