Update nodemgmt-scripts.sh

This commit is contained in:
2019-07-25 23:30:18 -05:00
parent 6d58bd0572
commit 1b3decbb27

View File

@@ -794,8 +794,9 @@ DELSITES(){
# IFS='\n'
for siteconf in $filels; do
# for siteconf in /etc/nginx/sites-available/* ; do
echo "HERE: $siteconf"
# echo "HERE: $siteconf"
[ -e "$siteconf" ] || continue
echo "HERE: $siteconf"
IFS='/'; site_conf=(${siteconf}); unset IFS
SITES[${sid}]=${site_conf[4]}
sid=`expr $sid + 1`