mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
do not return error if a rules statements generated no rules - it breaks sourcing of config file if the last rule statement generates no rules
This commit is contained in:
parent
1eef048246
commit
e5def6100b
@ -1461,7 +1461,7 @@ rules() {
|
||||
if [ "${#mark[*]}${#tos[*]}${#src[*]}${#dst[*]}${#inface[*]}" = "00000" ]
|
||||
then
|
||||
warning "No rules generated."
|
||||
return 1
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ ! -z "${table}" ]
|
||||
|
Loading…
Reference in New Issue
Block a user