move 2 quotes

This commit is contained in:
tuplink 2016-10-20 14:27:06 -04:00
parent 53870ac647
commit 12aefc0d8b

View file

@ -50,7 +50,7 @@ HandleOther(){
PopBlacklistFile(){ PopBlacklistFile(){
#check blacklist file exists, and if not, create it #check blacklist file exists, and if not, create it
if [[ ! -f "${blacklistFile"} ]];then if [[ ! -f "${blacklistFile}" ]];then
touch "${blacklistFile}" touch "${blacklistFile}"
fi fi
for dom in "${domList[@]}"; do for dom in "${domList[@]}"; do
@ -83,7 +83,7 @@ AddDomain(){
RemoveDomain(){ RemoveDomain(){
bool=false bool=false
grep -Ex -q "$1" "${blacklistFile"} || bool=true grep -Ex -q "$1" "${blacklistFile}" || bool=true
if ${bool}; then if ${bool}; then
#Domain is not in the blacklist file, no need to Remove #Domain is not in the blacklist file, no need to Remove
if ${verbose}; then if ${verbose}; then