Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-06 23:29:35 -06:00
parent faed88faeb
commit dd9fee88fa

View File

@@ -539,7 +539,7 @@ NEWSITE(){
fi fi
echo -e -n "${idsCL[LightRed]}Is this information correct? [Y/n]${idsCL[Default]} " echo -e -n "${idsCL[LightRed]}Is this information correct? [Y/n]${idsCL[Default]} "
read response read response
if [[ $response =~ ^[Yy]$ ]] || [ "${response}" = ""]; then if [[ $response =~ ^[Yy]$ ]] || [ "${response}" = "" ]; then
if [[ ${NEW_SITE} == *","* ]]; then if [[ ${NEW_SITE} == *","* ]]; then
IFS=','; NEW_SITES=(${NEW_SITE}); unset IFS IFS=','; NEW_SITES=(${NEW_SITE}); unset IFS
MAIN_SITE=${NEW_SITES[0]} MAIN_SITE=${NEW_SITES[0]}