mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-23 18:50:46 +01:00
bugfix for cmd when using ALL target
This commit is contained in:
@@ -53,7 +53,7 @@ for _jail in ${JAILS}; do
|
|||||||
COUNT=$(($COUNT+1))
|
COUNT=$(($COUNT+1))
|
||||||
info "[${_jail}]:"
|
info "[${_jail}]:"
|
||||||
|
|
||||||
if grep -qw "linsysfs" "${bastille_jailsdir}/${TARGET}/fstab"; then
|
if grep -qw "linsysfs" "${bastille_jailsdir}/${_jail}/fstab"; then
|
||||||
# Allow executing commands on Linux jails.
|
# Allow executing commands on Linux jails.
|
||||||
jexec -l -u root "${_jail}" "$@"
|
jexec -l -u root "${_jail}" "$@"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user