mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 09:10:15 +01:00
print blank line after last jail
This commit is contained in:
@@ -187,5 +187,9 @@ for _jail in ${JAILS}; do
|
||||
|
||||
# Delay between jail action
|
||||
sleep "${DELAY_TIME}"
|
||||
|
||||
# Print blank line on last jail
|
||||
_last_jail="$(echo ${JAILS} | awk '{print $NF}')"
|
||||
[ "${_jail}" = "${_last_jail}" ] && echo ""
|
||||
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user