From 6d58bd0572daca58ba7ab96073386ca06c04119a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 Jul 2019 23:29:47 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 6526aa53..ac5cfe34 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -791,9 +791,10 @@ DELSITES(){ DIVIDER true sid=1 filels="( $(ssh root@10.5.10.121 ls '/etc/nginx/sites-available/*') )" - IFS='\n' + # IFS='\n' for siteconf in $filels; do # for siteconf in /etc/nginx/sites-available/* ; do + echo "HERE: $siteconf" [ -e "$siteconf" ] || continue IFS='/'; site_conf=(${siteconf}); unset IFS SITES[${sid}]=${site_conf[4]}