mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
rework blank line
This commit is contained in:
@@ -96,15 +96,18 @@ errors=0
|
||||
|
||||
for _jail in ${JAILS}; do
|
||||
|
||||
echo ""
|
||||
info "[${_jail}]:"
|
||||
|
||||
check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then
|
||||
bastille start "${_jail}"
|
||||
else
|
||||
else
|
||||
info "[${_jail}]:"
|
||||
error_notify "Jail is not running."
|
||||
error_continue "Use [-a|--auto] to auto-start the jail."
|
||||
fi
|
||||
|
||||
# Print blank line in front of first jail
|
||||
[ "${_jail}" = "${_FIRST_JAIL}" ] && echo ""
|
||||
|
||||
info "[${_jail}]:"
|
||||
|
||||
bastille_jail_path="${bastille_jailsdir}/${_jail}/root"
|
||||
if [ -f "/usr/sbin/mport" ]; then
|
||||
@@ -125,8 +128,8 @@ for _jail in ${JAILS}; do
|
||||
fi
|
||||
fi
|
||||
|
||||
# Print blank line on last jail
|
||||
[ "${_jail}" = "${_LAST_JAIL}" ] && echo ""
|
||||
# Print blank line
|
||||
echo ""
|
||||
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user