From 93fe3c8e470b2c8d5a290a5cb409c1979c7e5cd8 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Tue, 22 Apr 2025 09:11:05 -0600 Subject: [PATCH] destroy: Remove deprecated ref to bastille_list --- usr/local/share/bastille/destroy.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/usr/local/share/bastille/destroy.sh b/usr/local/share/bastille/destroy.sh index f81df036..2e68d111 100644 --- a/usr/local/share/bastille/destroy.sh +++ b/usr/local/share/bastille/destroy.sh @@ -95,12 +95,6 @@ destroy_jail() { rm -rf "${bastille_jail_base}" fi - # Remove target from bastille_list if exist - # Mute sysrc output here as it may be undesirable on large startup list - if [ -n "$(sysrc -qn bastille_list | tr -s " " "\n" | awk "/^${_jail}$/")" ]; then - sysrc bastille_list-="${_jail}" > /dev/null - fi - ## archive jail log if [ -f "${bastille_jail_log}" ]; then mv "${bastille_jail_log}" "${bastille_jail_log}"-"$(date +%F)"