diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 3a41aeca..f1601e3e 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -833,6 +833,7 @@ NEWSITE(){ fi echo -e -n "${idsCL[LightRed]}Is this information correct? [Y/n]${idsCL[Default]} " read response + echo if [[ $response =~ ^[Yy]$ ]] || [ "${response}" = "" ]; then if [[ ${NEW_SITE} == *","* ]]; then IFS=','; NEW_SITES=(${NEW_SITE}); unset IFS @@ -1375,7 +1376,7 @@ NODEUPDATE() { echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}" nip=${MYSQLMANAGER} if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then - nip='localhost ' + nip='localhost ' fi c=0; cw=15; spc='' spc1=${cw}-7