From 9b991073ef83b2f47146466897042cc33a77d3f6 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 12 Nov 2023 14:11:45 -0600 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/sites.inc b/inc/sites.inc index 6824aae2..778f986f 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -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