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

When using sudo /config/scripts/updBlackList.sh #25

Closed MrLundaa closed 6 months ago

MrLundaa commented 6 months ago

Hi!

When i try to run the update script, I get this error - and I cant figure out why.

lundaa@LundaaDK-ER6P# sudo /config/scripts/updBlackList.sh

/config/scripts/updBlackList.sh: line 606: syntax error near unexpected token `then'

/config/scripts/updBlackList.sh: line 606: `trap atExit EXIT startup doFetch if [[ -n "${fwGroupNets4}" ]]; then'

[edit]

What to do ?