From b34de8f3343ed387b3393b82fb636346a30c4a25 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Sun, 4 May 2025 21:11:28 -0600 Subject: [PATCH] migrate: Fix names --- usr/local/share/bastille/migrate.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/local/share/bastille/migrate.sh b/usr/local/share/bastille/migrate.sh index a915978d..35fc6c72 100644 --- a/usr/local/share/bastille/migrate.sh +++ b/usr/local/share/bastille/migrate.sh @@ -165,7 +165,7 @@ migrate_jail() { error_exit "Enable ZFS remotely to continue." else - info "\nAttempting to send jail to remote system..." + info "\nAttempting to migrate jail to remote system..." local _file="$(grep -Eo "^${_jail}_.*\.xz" "${bastille_migratedir}")" local _file_sha256="$(grep -Eo "^${_jail}_.*\.sha256" "${bastille_migratedir}")" @@ -189,7 +189,7 @@ migrate_jail() { error_exit "Enable ZFS locally to continue." else - info "\nAttempting to send jail to remote system..." + info "\nAttempting to migrate jail to remote system..." local _file="$(grep -Eo "^${_jail}_.*\.txz" "${bastille_migratedir}")" local _file_sha256="$(grep -Eo "^${_jail}_.*\.sha256" "${bastille_migratedir}")" @@ -246,9 +246,9 @@ for _jail in ${JAILS}; do info "\nAttempting to migrate '${_jail}' to '${HOST}'..." - migrate_jail "${TARGET}" "${HOST}" "${USER}" + migrate_jail "${_jail}" "${HOST}" "${USER}" - info "\nSuccessfully migrated '${_jail}' to '${_host}'.\n" + info "\nSuccessfully migrated '${_jail}' to '${HOST}'.\n" ) &