From 0bb3921f62d728b4b949abd96e737cd71937e679 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 1 Feb 2019 14:28:47 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 761742bd..b45f22fc 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -54,9 +54,9 @@ case "$1" in ;; delsite) + DEL_SITE=${2} echo -e "${idsCL[LightRed]}Deleting site '${idsCL[Red]}${DEL_SITE}${idsCL[LightRed]}'...${idsCL[Default]}" echo "" - DEL_SITE=${2} rm -f /etc/nginx/sites-available/${DEL_SITE}.conf rm -f /etc/nginx/sites-enabled/${DEL_SITE}.conf rm -rf /var/www/${DEL_SITE}