Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-11 16:52:03 -06:00
parent f15f275639
commit b1a6f949b0

View File

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