diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ff128c87..54eae00e 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -356,7 +356,7 @@ NODEUPDATE() { c=0; spca=''; spc1=${cw}-${#NODE}; until [ $c = ${spc1} ]; do spca="${spca} "; c=`expr $c + 1`; done echo -en "Updating ${NODE}${spca}" - if [ "${nip}" != "100.100.2.1" ] || [ "${nip}" != "10.2.1.1" ]; then + if [ "${nip}" != "100.100.2.1" ] && [ "${nip}" != "10.2.1.1" ]; then if [ "${2}" != "sync" ]; then echo -en " ~ ${idsCL[LightCyan]}NodeMGMT${idsCL[Default]} : " if ! ${NCMD} command -v nodemgmt > /dev/null; then