diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 731439ec..fbed7c99 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1290,6 +1290,7 @@ SERVICE(){ if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then NODE_TYPE=${NTYPE}; echo "yes" + break else echo "no" fi