mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-18 16:21:32 +01:00
rework blank line
This commit is contained in:
@@ -52,7 +52,8 @@ destroy_jail() {
|
||||
|
||||
for _jail in ${JAILS}; do
|
||||
|
||||
echo ""
|
||||
# Print blank line in front of first jail
|
||||
[ "${_jail}" = "${_FIRST_JAIL}" ] && echo ""
|
||||
|
||||
bastille_jail_base="${bastille_jailsdir}/${_jail}"
|
||||
bastille_jail_log="${bastille_logsdir}/${_jail}_console.log"
|
||||
@@ -60,6 +61,7 @@ destroy_jail() {
|
||||
check_target_is_stopped "${_jail}" || if [ "${AUTO}" -eq 1 ]; then
|
||||
bastille stop "${_jail}"
|
||||
else
|
||||
info "[${_jail}]:"
|
||||
error_notify "Jail is running."
|
||||
error_continue "Use [-a|--auto] to auto-stop the jail."
|
||||
fi
|
||||
@@ -111,8 +113,8 @@ destroy_jail() {
|
||||
fi
|
||||
fi
|
||||
|
||||
# Print blank line on last jail
|
||||
[ "${_jail}" = "${_LAST_JAIL}" ] && echo ""
|
||||
# Print blank line
|
||||
echo ""
|
||||
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user