Skip to content

Commit

Permalink
Fix bug in iptables generation.
Browse files Browse the repository at this point in the history
Fixes: openmediavault#374
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed May 14, 2019
1 parent a539f0e commit 0cb618a
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -9,9 +9,10 @@ LOCK_FILE=/run/openmediavault-iptables.lock
if ! mkdir ${LOCK_FILE} >/dev/null 2>&1; then
exit
fi

trap "rm -rf ${LOCK_FILE}" 0 1 2 3 5 15

{%- if num_inet_rules > 0 -%}
{% if num_inet_rules > 0 -%}
iptables -t filter -F
{% endif -%}
{%- if num_inet6_rules > 0 -%}
Expand Down

0 comments on commit 0cb618a

Please sign in to comment.