Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-06 23:28:29 -06:00
parent fe6775f49d
commit 6309b098ee

View File

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