aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 6223964..2a1df14 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -78,9 +78,9 @@ fi
78if exists pfctl; then 78if exists pfctl; then
79 showbanned () 79 showbanned ()
80 { 80 {
81 for table in $(sudo pfctl -s Tables 2> /dev/null); do 81 for table in "fail2ban"; do
82 echo "$table"; 82 banned=$(sudo pfctl -t $table -T show 2> /dev/null)
83 sudo pfctl -t $table -T show 2> /dev/null; 83 echo -e "$table\n$banned"
84 done 84 done
85 } 85 }
86fi 86fi