From 1d5bfbb0a19c6cc0783c3c0ebada33e401f70b7d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 6 Dec 2024 22:22:14 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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