Closed MarcelFox closed 5 years ago
# ddos /usr/local/ddos/ddos.sh: line 325: syntax error near unexpected token `(' /usr/local/ddos/ddos.sh: line 325: ` grepcidr "$IGNORE_IP" <(echo "$CURR_LINE_IP") >/dev/null && continue || IP_BAN_NOW=1'
The correction was:
# vim /usr/local/ddos/ddos.sh +325 ------------------------------------------------------------------------------ FROM: grepcidr "$IGNORE_IP" <(echo "$CURR_LINE_IP") >/dev/null && continue || IP_BAN_NOW=1 TO: grepcidr "$IGNORE_IP" < $(echo "$CURR_LINE_IP") >/dev/null && continue || IP_BAN_NOW=1
Thanks for noticing this, it escaped my eyes :man_facepalming:
Syntax Error:
The correction was: