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