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]}"