Update nodemgmt-scripts.sh
This commit is contained in:
@@ -787,12 +787,12 @@ RUN_COMMAND(){
|
|||||||
NT_HOSTS=${nodetype}_HOSTS[@]
|
NT_HOSTS=${nodetype}_HOSTS[@]
|
||||||
NTS=("${nodetype}");
|
NTS=("${nodetype}");
|
||||||
else
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -z ${RUNCMD+x} ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
for NTYPE in "${NTS[@]}"; do
|
for NTYPE in "${NTS[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user