From 6a36e6f48c5a7104bb957d0b2fb2dd085ab39b1f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 20 Jul 2023 21:09:14 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 0d6ff30a..98eb3b74 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -110,10 +110,10 @@ DELSITES(){ echo -e "${idsCL[Red]}Select a site to delete...${idsCL[Default]}" DIVIDER true sid=1 - filels="( $(ssh root@${LB_HOSTS[0]} ls ${NM_NGINXPATH}/sites-enabled/*) )" + # filels="( $(ssh root@${LB_HOSTS[0]} ls ${NM_NGINXPATH}/sites-enabled/*) )" # IFS='\n' - for siteconf in $filels; do - # for siteconf in ${NM_NGINXPATH}/sites-enabled/* ; do + # for siteconf in $filels; do + for siteconf in ${NM_NGINXPATH}/sites-enabled/* ; do # [ -e "$siteconf" ] || continue if [ ${siteconf:0:1} == '/' ]; then IFS='/'; site_conf=(${siteconf}); unset IFS