mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-06 04:34:19 +01:00
common: fix brackets []
This commit is contained in:
@@ -147,7 +147,7 @@ set_target() {
|
|||||||
target_all_jails
|
target_all_jails
|
||||||
else
|
else
|
||||||
for _jail in ${_TARGET}; do
|
for _jail in ${_TARGET}; do
|
||||||
if [ ! -d "${bastille_jailsdir}/${_TARGET}" ] && [ echo "${_jail}" | grep -Eq '^[0-9]+$' ]; then
|
if [ ! -d "${bastille_jailsdir}/${_TARGET}" ] && echo "${_jail}" | grep -Eq '^[0-9]+$'; then
|
||||||
if get_jail_name "${_jail}" > /dev/null; then
|
if get_jail_name "${_jail}" > /dev/null; then
|
||||||
_jail="$(get_jail_name ${_jail})"
|
_jail="$(get_jail_name ${_jail})"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user