From 12aefc0d8b84080e7b30cc0d5d4405ea5526f811 Mon Sep 17 00:00:00 2001 From: tuplink Date: Thu, 20 Oct 2016 14:27:06 -0400 Subject: [PATCH] move 2 quotes --- advanced/Scripts/blacklist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/Scripts/blacklist.sh b/advanced/Scripts/blacklist.sh index ad4164a4..7f0826c6 100755 --- a/advanced/Scripts/blacklist.sh +++ b/advanced/Scripts/blacklist.sh @@ -50,7 +50,7 @@ HandleOther(){ PopBlacklistFile(){ #check blacklist file exists, and if not, create it - if [[ ! -f "${blacklistFile"} ]];then + if [[ ! -f "${blacklistFile}" ]];then touch "${blacklistFile}" fi for dom in "${domList[@]}"; do @@ -83,7 +83,7 @@ AddDomain(){ RemoveDomain(){ bool=false - grep -Ex -q "$1" "${blacklistFile"} || bool=true + grep -Ex -q "$1" "${blacklistFile}" || bool=true if ${bool}; then #Domain is not in the blacklist file, no need to Remove if ${verbose}; then