Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user