mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-18 16:21:32 +01:00
set _LAST_JAIL in common
This commit is contained in:
@@ -91,7 +91,6 @@ shift
|
||||
|
||||
bastille_root_check
|
||||
set_target "${TARGET}"
|
||||
_last_jail="$(echo ${JAILS} | awk '{print $NF}')"
|
||||
|
||||
errors=0
|
||||
|
||||
@@ -127,7 +126,7 @@ for _jail in ${JAILS}; do
|
||||
fi
|
||||
|
||||
# Print blank line on last jail
|
||||
[ "${_jail}" = "${_last_jail}" ] && echo ""
|
||||
[ "${_jail}" = "${_LAST_JAIL}" ] && echo ""
|
||||
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user