Commit Diff
--- http-ban.sh +++ http-ban.sh @@ -29,7 +29,7 @@ access() { } apply_whitelist() { - GF=$(for ip in $(printf %s\\n $QUICK_WHITELIST); do printf -- '-ve %s\n' "$ip"; done) + GF=$(for ip in $(printf %s\\n $QUICK_WHITELIST); do printf -- '-ve "%s" ' "$ip"; done) GF=${GF:-'.*'} grep $GF }