WaterByWind / edgeos-bl-mgmt

Automated updating of EdgeOS firewall network-group to be used as source address blacklist
MIT License
196 stars 40 forks source link

Error when running this on a Unifi Gateway #4

Closed mvnixon closed 7 years ago

mvnixon commented 7 years ago

Previously the script worked well, however now I get the following error:

updBlackList.sh: line 322: syntax error near unexpected token `<'

updBlackList.sh: line 322: ` done < <(sed -e 's/#.$//g' -e '/^[[:space:]]$/d' ${fpUrlList})'

Any ideas?

mvnixon commented 7 years ago

opps - running the script with sh instead of bash will cause this error.