list: Only list the relevant template part of the directory

This commit is contained in:
tschettervictor
2025-04-21 17:30:16 -06:00
committed by GitHub
parent 601cd1c9cb
commit 1cc713ec86

View File

@@ -204,7 +204,7 @@ list_release(){
}
list_template(){
find "${bastille_templatesdir}" -type d -maxdepth 2
find "${bastille_templatesdir}" -type d -maxdepth 2 | sed 's#${bastille_templatesdir}/##g'
}
list_jail(){