console: _jail>TARGET

This commit is contained in:
tschettervictor
2025-01-14 13:29:46 -07:00
committed by GitHub
parent 3674c847fb
commit 59296d60a6

View File

@@ -108,7 +108,7 @@ validate_user() {
}
check_fib() {
fib=$(grep 'exec.fib' "${bastille_jailsdir}/${_jail}/jail.conf" | awk '{print $3}' | sed 's/\;//g')
fib=$(grep 'exec.fib' "${bastille_jailsdir}/${TARGET}/jail.conf" | awk '{print $3}' | sed 's/\;//g')
if [ -n "${fib}" ]; then
_setfib="setfib -F ${fib}"
else