Update sites.inc

This commit is contained in:
2023-11-12 14:11:45 -06:00
parent d2386ac13f
commit 9b991073ef

View File

@@ -634,6 +634,8 @@ SITEINFO(){
twofacline=${twofacline%%:*}
fi
[ "${SEARCH}" != "0" ] && echo -e "${idsCL[Yellow]}Narrowing list to names containing '${idsCL[LightYellow]}${SEARCH,,}${idsCL[Yellow]}' ${idsCL[Default]}\n"
if [ ${EDIT} -eq 1 ]; then
[ "${2}" == "" ] && echo -e "${idsCL[LightGreen]}Choose a site from the list below to edit: ${idsCL[Default]}"
else
@@ -643,7 +645,6 @@ SITEINFO(){
declare -A SITELIST
if [ "${gosite}" != "" ]; then
if [ "${SEARCH}" != "0" ]; then
echo "searching for ${SEARCH,,}"
sites=$(find ${gosite}/*${SEARCH,,}*.conf)
else
echo not searching