Update sites.inc

This commit is contained in:
2023-11-12 10:45:25 -06:00
parent ee204cd94e
commit c52be23d60

View File

@@ -677,13 +677,10 @@ SITEINFO(){
while [ "${edit^}" != "E" ]; do
if [ "${2}" == "" ]; then
echo -en "\n${idsCL[LightCyan]}Enter the site number you want to edit: ${idsCL[Default]}"
read siteid
echo
elif [ "${siteid}" == "" ]; then
siteid=${2}
fi
echo -en "\n${idsCL[LightCyan]}Enter the site number you want to edit: ${idsCL[Default]}"
read siteid
echo
site=${SITELIST[${siteid}]}
sitefile=${gosite}/${site}.conf
if [ "$(grep \#ssl_certificate ${sitefile})" != "" ]; then