Skip to content

Commit

Permalink
list: No color when searching for jails
Browse files Browse the repository at this point in the history
  • Loading branch information
tschettervictor authored Feb 20, 2025
1 parent 779e7b7 commit 53d37cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/share/bastille/list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 53d37cd

Please sign in to comment.