From 0ae253bfa8ce64f8b63fdd33c728e5c59b8843f8 Mon Sep 17 00:00:00 2001 From: bbruns Date: Wed, 6 Oct 2010 18:47:42 +0000 Subject: [PATCH] Adding test scripts for block --- tools/test-blocks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-blocks b/tools/test-blocks index 6f59778..b5b2e59 100755 --- a/tools/test-blocks +++ b/tools/test-blocks @@ -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