From 58bc9ba3a5c6d590e2790648bf323b79cb2e9ec9 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Tue, 6 May 2025 11:19:40 -0600 Subject: [PATCH] Migrate: pass all vars --- usr/local/share/bastille/migrate.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/local/share/bastille/migrate.sh b/usr/local/share/bastille/migrate.sh index f6b7804f..7f1138cf 100644 --- a/usr/local/share/bastille/migrate.sh +++ b/usr/local/share/bastille/migrate.sh @@ -117,7 +117,9 @@ validate_host_status() { migrate_cleanup() { - local _jail"${1}" + local _jail="${1}" + local _user="${2}" + local _host="${3}" # Remove archive files from local and remote system ssh ${_user}@${_host} sudo rm -f "${_remote_bastille_migratedir}/${_jail}_*.*"