mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-26 23:40:38 +01:00
rdr: suppress table output
This commit is contained in:
@@ -112,7 +112,7 @@ check_rdr_table_validity() {
|
||||
|
||||
local table="${1}"
|
||||
|
||||
if ! pfctl -t "${table}" -T show; then
|
||||
if ! pfctl -t "${table}" -T show > /dev/null 2>&1; then
|
||||
error_exit "\nInvalid: (${table})."
|
||||
else
|
||||
info "\nValid: (${table})."
|
||||
|
||||
Reference in New Issue
Block a user