From 5cfbe222adff6789d4d1ae1c43d8ec3daeafa22d Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Fri, 17 Jan 2025 12:27:11 -0700 Subject: [PATCH] upgrade: Fix jail update var --- usr/local/share/bastille/upgrade.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/local/share/bastille/upgrade.sh b/usr/local/share/bastille/upgrade.sh index 70db6071..2be09435 100644 --- a/usr/local/share/bastille/upgrade.sh +++ b/usr/local/share/bastille/upgrade.sh @@ -157,6 +157,7 @@ jail_upgrade() { } jail_updates_install() { + local _jailname="${1}" local _jailpath="${bastille_jailsdir}/${TARGET}/root" local _workdir="${_jailpath}/var/db/freebsd-update" local _freebsd_update_conf="${_jailpath}/etc/freebsd-update.conf" @@ -175,7 +176,7 @@ jail_updates_install() { # Check what we should upgrade if [ "${NEWRELEASE}" = "install" ]; then - jail_updates_install + jail_updates_install "${TARGET}" else jail_upgrade "${TARGET}" "${NEWRELEASE}" fi