list: don’t include templatesdir is listing templates

This commit is contained in:
tschettervictor
2025-05-13 12:12:45 -06:00
committed by GitHub
parent c50bdda5ab
commit 9718b5771a

View File

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