From c28fd33573e3ea1c4a959a4f67b51bfd8a32eeb8 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Mon, 24 Feb 2025 07:06:25 -0700 Subject: [PATCH] rdr: Fix wrong variable on reset command --- usr/local/share/bastille/rdr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/rdr.sh b/usr/local/share/bastille/rdr.sh index b301e631..e57858a7 100644 --- a/usr/local/share/bastille/rdr.sh +++ b/usr/local/share/bastille/rdr.sh @@ -321,7 +321,7 @@ while [ "$#" -gt 0 ]; do check_jail_validity echo "${TARGET} redirects:" pfctl -a "rdr/${TARGET}" -Fn - if rm -f "${bastille_jailsdir}/${_jail}/rdr.conf"; then + if rm -f "${bastille_jailsdir}/${TARGET}/rdr.conf"; then info "[${TARGET}]: rdr.conf removed" fi fi