From 16a9acfcf694eb6a1053c4d7555b73c107cdb0ba Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 2 Dec 2023 14:11:09 -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 29575112..88d329e0 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -561,7 +561,7 @@ SITEINFO(){ declare -A SITELIST if [ "${gosite}" != "" ]; then gofor=false - [ "${SEARCH}" != "0" ] && [ -f ${gosite}/*${SEARCH,,}*.conf ] && gofor=true + [ "${SEARCH}" != "0" ] && [ -f "${gosite}/*${SEARCH,,}*.conf" ] && gofor=true [ "${SEARCH}" == "0" ] && [ -f ${gosite}/*.conf ] && gofor=true if [ "${gofor}" == "true" ]; then