rework blank line

This commit is contained in:
tschettervictor
2025-04-29 21:51:24 -06:00
parent f21bedb53c
commit 046cf87e79
16 changed files with 113 additions and 77 deletions

View File

@@ -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
}