mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
rdr: Fix exit on invalid table
This commit is contained in:
@@ -113,7 +113,7 @@ check_rdr_table_validity() {
|
|||||||
local table="${1}"
|
local table="${1}"
|
||||||
|
|
||||||
if ! pfctl -t "${table}" -T show; then
|
if ! pfctl -t "${table}" -T show; then
|
||||||
info "\nValid: (${table})."
|
error_exit "\nInvalid: (${table})."
|
||||||
else
|
else
|
||||||
info "\nValid: (${table})."
|
info "\nValid: (${table})."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user