Fixed rcorder startup (added -a to basename)

This commit is contained in:
Christopher Kepes
2024-02-29 11:40:55 +01:00
parent 3a4ebc63bb
commit 1d14badc4a

View File

@@ -41,7 +41,7 @@ restart_cmd="bastille_stop && bastille_start"
rcordered_list() {
local _jailsdir
_jailsdir=$(. $bastille_conf; echo $bastille_jailsdir)
bastille_ordered_list=$(rcorder -s nostart ${_jailsdir}/*/jail.conf | xargs dirname | xargs basename | tr "\n" " ")
bastille_ordered_list=$(rcorder -s nostart ${_jailsdir}/*/jail.conf | xargs dirname | xargs basename -a | tr "\n" " ")
}
bastille_start()