Merge pull request #859 from tschettervictor/Fix-list-jails-color

list: No color when searching for jails
This commit is contained in:
Barry McCormick
2025-02-22 08:18:47 -08:00
committed by GitHub

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}"