From b1a6f949b07bfb404b2fabe423a5c38969785507 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Feb 2019 16:52:03 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c6427eba..5cf8653b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -503,12 +503,12 @@ NEWCERT(){ } DEL-SSL(){ - if [ -z ${2+x} ]; then + if [ -z ${1+x} ]; then echo -e -n "${idsCL[LightCyan]}Delete what SSL site address: ${idsCL[Default]}" read DEL_SSL echo "" else - DEL_SSL=${2} + DEL_SSL=${1} fi if [ ! -z ${DEL_SSL+x} ] && [ "${DEL_SSL}" != "" ]; then echo -e "${idsCL[LightRed]}Deleting the SSL certificates for '${idsCL[Red]}${DEL_SSL}${idsCL[LightRed]}'...${idsCL[Default]}"