From a6587647aa6958737704b0c22734944b10dbeffa Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 25 Apr 2023 22:03:39 -0500 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 3c678ab7..9adad5ab 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1906,7 +1906,7 @@ SERVICE(){ fi else - if [ "${3}" != "all" ]; then + if [ "${4}" != "all" ]; then IP=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) for NTYPE in "${NODE_TYPES[@]}"; do var=${NTYPE}_HOSTS[@]