mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-28 00:10:47 +01:00
list: No color when searching for jails
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user