From a1aa99bab8aad283599fec38d99758dd3459d7b3 Mon Sep 17 00:00:00 2001 From: tschettervictor Date: Sun, 14 Dec 2025 13:46:49 -0700 Subject: [PATCH] fix some unused vars --- usr/local/share/bastille/migrate.sh | 1 - usr/local/share/bastille/setup.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/local/share/bastille/migrate.sh b/usr/local/share/bastille/migrate.sh index 91f40f0c..cdeeb270 100644 --- a/usr/local/share/bastille/migrate.sh +++ b/usr/local/share/bastille/migrate.sh @@ -219,7 +219,6 @@ migrate_jail() { local_bastille_migratedir="$(mktemp -d /tmp/bastille-migrate-${jail})" remote_bastille_zfs_enable="$(${sshpass_cmd} ssh -p ${port} ${opt_ssh_key} ${user}@${host} sysrc -f /usr/local/etc/bastille/bastille.conf -n bastille_zfs_enable)" - remote_bastille_jailsdir="$(${sshpass_cmd} ssh -p ${port} ${opt_ssh_key} ${user}@${host} sysrc -f /usr/local/etc/bastille/bastille.conf -n bastille_jailsdir)" remote_bastille_migratedir="$(${sshpass_cmd} ssh -p ${port} ${opt_ssh_key} ${user}@${host} mktemp -d /tmp/bastille-migrate-${jail})" remote_jail_list="$(${sshpass_cmd} ssh -p ${port} ${opt_ssh_key} ${user}@${host} ${OPT_SU} bastille list jails)" diff --git a/usr/local/share/bastille/setup.sh b/usr/local/share/bastille/setup.sh index 3d95c319..7a3e3105 100644 --- a/usr/local/share/bastille/setup.sh +++ b/usr/local/share/bastille/setup.sh @@ -394,7 +394,7 @@ configure_storage() { if ! echo "${zpool_choice}" | grep -Eq "^[0-9]+$"; then error_exit "Invalid input number, aborting!" else - zpool_select=$(echo "${zpool_num}" | grep -wo "\[${zpool_choice}\][^ ]*" | sed 's/\[.*\]//g') + bastille_zpool=$(echo "${zpool_num}" | grep -wo "\[${zpool_choice}\][^ ]*" | sed 's/\[.*\]//g') fi fi else