diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index e4263836..af0cce2d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -418,7 +418,7 @@ NODEUPDATE(){ echo -e "${idsCL[Yellow]}[${nip}] New server, needs SSH credentials${idsCL[Default]}" ssh-copy-id root@${nip} fi - if ! ${NCMD} command -v nodemgmt < /dev/null 2>&1; then + if ! ${NCMD} command -v nodemgmt > /dev/null 2>&1; then echo 'yes' ${NCMD} "bash <(curl -sL https://go.scity.us/install-nodemgmt)" &1 ${NMCMD} rsync -az ${NM_FOLDER}/conf/*.inc ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ &1