diff --git a/inc/sites.inc b/inc/sites.inc index 70534ecd..2b77e091 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -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