list: No color when searching for jails

This commit is contained in:
tschettervictor
2025-02-19 20:24:09 -07:00
committed by GitHub
parent 779e7b7ce7
commit 53d37cde1a

View File

@@ -208,7 +208,7 @@ list_template(){
list_jail(){
if [ -d "${bastille_jailsdir}" ]; then
JAIL_LIST=$(ls "${bastille_jailsdir}" | sed "s/\n//g")
JAIL_LIST=$(ls --color=never "${bastille_jailsdir}" | sed "s/\n//g")
for _JAIL in ${JAIL_LIST}; do
if [ -f "${bastille_jailsdir}/${_JAIL}/jail.conf" ]; then
echo "${_JAIL}"