mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-02 10:49:48 +01:00
console: _jail>TARGET
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user