Adding test scripts for block

master
bbruns 2010-10-06 18:47:42 +00:00
parent b2d5a17ae5
commit 0ae253bfa8
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ display_c YELLOW "rules used for blocking in ${BLOCKEDIP}. It is"
display_c YELLOW "a good way to verify the rules will work how"
display_c YELLOW "you intend."
if [ ! "$BLOCKEDIP" ]; then
if [ ! -r "$BLOCKEDIP" ]; then
display_c RED "Error: No blocked ips file found."
exit 1
fi