Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-25 16:46:18 -05:00
parent 08cdcab025
commit 7796ed4175

View File

@@ -768,7 +768,13 @@ NEWCERT(){
echo -e -n "${idsCL[LightCyan]}Reload NGINX on LB Nodes (Y/n): ${idsCL[Default]}"
read -n 1 NGINXRELOAD
showdivide=yes
[[ ${NGINXRELOAD} =~ ^[Nn]$ ]] && tmp='' || SERVICE nginx reload
if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]] || [ "${NGINXRELOAD}" == "" ]; then
SERVICE nginx reload
elif [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
tmp=''
else
SERVICE nginx reload
fi
fi
echo