Update sites.inc

This commit is contained in:
2023-12-16 15:45:09 -06:00
parent b556101c6b
commit dd3422b4d0

View File

@@ -761,7 +761,7 @@ EDITSITE(){
SECURE='-'
fi
[ -f ${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled/${SITENAME}.conf ] && LIVE='Yes' || LIVE=''
[ -f ${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled/${SITENAME}.conf ] && LIVE='Yes' || LIVE='-'
else
LIVE='Yes'
@@ -866,6 +866,7 @@ EDITSITE(){
;;
esac
;;
[Ee]) [ "${LIVE}" == "-" ] && LIVE='Yes' || LIVE='-';;
[Ee])
echo -e "\033[K"
exit 0