From 3c6b52a6457ff0f3789bbc0d49a7603de1ce9bc2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 13:01:47 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 17c16318..3b86bbbd 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -218,11 +218,14 @@ DELSITE(){ DEL_SSL=yes fi if [ -z ${DEL_SITE+x} ]; then - echo echo -e -n "${idsCL[LightCyan]}Delete what site address: ${idsCL[Default]}" read DEL_SITE echo "" fi + if [ -z ${DEL_SSL+x} ]; then + echo -e -n "${idsCL[LightRed]}Do you also want to delete the certs for '${DEL_SITE}' as well? [y/N]${idsCL[Default]} " + read DEL_SSL + fi if [ ! -z ${DEL_SITE+x} ] && [ "${DEL_SITE}" != "" ]; then echo -e "${idsCL[LightRed]}Deleting site '${idsCL[Red]}${DEL_SITE}${idsCL[LightRed]}'...${idsCL[Default]}" echo ""