Merge pull request #226 from itoffshore/alpine

fix DASH incompatibility
This commit is contained in:
Stuart Cardall 2018-10-29 11:08:18 +00:00 committed by GitHub
commit 9fbc1bc68e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,7 +154,7 @@ whitelist_manual_domains() {
} }
whitelist_print() { whitelist_print() {
local type=$1 domain= domain_len=$2 domain_list=$(echo $@ | cut -f3- -d ' ') local type=$1 domain= domain_len=$2 domain_list="$(echo $@ | cut -f3- -d ' ')"
local conf=$BOTS_DIR/whitelist-domains.conf local conf=$BOTS_DIR/whitelist-domains.conf
for domain in $domain_list; do for domain in $domain_list; do