print blank line after last jail

This commit is contained in:
tschettervictor
2025-04-29 20:48:11 -06:00
parent a470102356
commit feaf8c792b
17 changed files with 91 additions and 2 deletions

View File

@@ -124,6 +124,11 @@ for _jail in ${JAILS}; do
errors=1
fi
fi
# Print blank line on last jail
_last_jail="$(echo ${JAILS} | awk '{print $NF}')"
[ "${_jail}" = "${_last_jail}" ] && echo ""
done
if [ $errors -ne 0 ]; then