From f3443ae787e969a5ec1218817a89cddec8ede88a Mon Sep 17 00:00:00 2001
From: Pawel Krawczyk
Date: Sat, 11 Jul 2015 08:24:38 +0100
Subject: [PATCH] it's not Python... fix if syntax
---
blacklist.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blacklist.sh b/blacklist.sh
index c4e8b3b..11b51d6 100755
--- a/blacklist.sh
+++ b/blacklist.sh
@@ -119,7 +119,7 @@ for url in $urls; do
sort -u <"${unsorted_blocklist}" | egrep "^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}(/[0-9]{1,2})?$" >"${sorted_blocklist}"
# calculate performance parameters for the new set
- if "${RANDOM}"; then
+ if [ "${RANDOM}" ]; then
# bash
tmp_set_name="tmp_${RANDOM}"
else