mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-24 03:01:01 +01:00
rework blank line
This commit is contained in:
@@ -90,15 +90,18 @@ set_target "${TARGET}"
|
||||
|
||||
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}]:"
|
||||
|
||||
COUNT=$(($COUNT+1))
|
||||
if grep -qw "linsysfs" "${bastille_jailsdir}/${_jail}/fstab"; then
|
||||
@@ -117,8 +120,8 @@ for _jail in ${JAILS}; do
|
||||
RETURN=$(($RETURN+$ERROR_CODE))
|
||||
fi
|
||||
|
||||
# Print blank line on last jail
|
||||
[ "${_jail}" = "${_LAST_JAIL}" ] && echo ""
|
||||
# Print blank line
|
||||
echo ""
|
||||
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user