From 9ee8550cd6bbcf90daee103f256acd3759d90bbf Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 25 Apr 2023 11:47:47 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 34d04ff3..0e2025fb 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1179,8 +1179,8 @@ DELSITE(){ fi if [ "${checkhost}" != "false" ]; then #if [ -f /etc/nginx/sites-available/${DEL_SITE} ]; then - ${NCMD} rm -f /etc/nginx/sites-available/${DEL_SITE} - ${NCMD} rm -f /etc/nginx/sites-enabled/${DEL_SITE} + ${NCMD} rm -f /etc/nginx/sites-available/${DEL_SITE}* + ${NCMD} rm -f /etc/nginx/sites-enabled/${DEL_SITE}* #fi #if [ -d /var/www/${DEL_SITE} ]; then ${NCMD} rm -rf /var/www/${DEL_SITE}