From 6309b098eeff2bb8f58eaed013d23e5dac6c0ffa Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 23:28:29 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ee4bd5fd..46779f4d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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]}