From b0ceb5e78c6e66084fee8fc49f9e8f625804e51d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 2 Dec 2023 14:00:22 -0600 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/sites.inc b/inc/sites.inc index 47d52341..a83a7526 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -560,7 +560,7 @@ SITEINFO(){ gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled declare -A SITELIST if [ "${gosite}" != "" ]; then - [ "${SEARCH}" != "0" ] && siteslist="${gosite}/*${SEARCH,,}*.conf" || siteslist="${gosite}/*.conf" + [ "${SEARCH}" != "0" ] && siteslist=${gosite}/*${SEARCH,,}*.conf || siteslist=${gosite}/*.conf if [ -f ${siteslist} ]; then sites=$(find ${siteslist})