Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2009-03-16 13:00:28 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2009-03-16 13:00:28 +0000
commite1f8b7457a9ff7bb30f5aa948ff1b0837de0c0c4 (patch)
tree41aeb8b420de063eae0d49593aed7c0ae9e45323 /openbsd
parenteca5c42ca11bd5a2ffd5e224dba05b2d5f0be3c0 (diff)
[OpenBSD scripts] grep uses -f for pattern files, not -F.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@498 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'openbsd')
-rwxr-xr-xopenbsd/denyhost.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/denyhost.sh b/openbsd/denyhost.sh
index 8e5ad05..21574db 100755
--- a/openbsd/denyhost.sh
+++ b/openbsd/denyhost.sh
@@ -32,7 +32,7 @@ cat /var/tmp/failed_passwords.list | sort -u > /var/tmp/failed_passwords.list
cat /var/tmp/invalid_users.list /var/tmp/failed_passwords.list | sort -u > $NEW_FILE
-for IP in `grep -v -F /var/tmp/blockers.list $NEW_FILE`; do
+for IP in `grep -v -f /var/tmp/blockers.list $NEW_FILE`; do
echo "New offending IP: $IP"
echo "Host and WHOIS information"
host $IP