diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 07839ae9..59c89e5d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -801,7 +801,7 @@ RUN_COMMAND(){ DIVIDER; echo -e "${idsST[Reset]}" NT_HOSTS=${NTYPE}_HOSTS[@] for nip in "${!NT_HOSTS}"; do - if [[ ${RUN_NODE_IP} == *"${nip}"* ]]; then + if [ "${RUN_NODE_IP}" == "${nip}" ]; then NCMD='' LH='- localhost' else