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