Update sites.inc

This commit is contained in:
2023-12-02 14:11:09 -06:00
parent 6ba7dd1f1b
commit 16a9acfcf6

View File

@@ -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