forked from ungleich-public/cdist
__iptables_rule: fix shellcheck SC2235
This commit is contained in:
parent
84172550df
commit
f568462e49
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ if [ -f "$__object/parameter/v6" ]; then
|
|||
specific_dir="$base_dir/v6"
|
||||
fi
|
||||
# If rules should be set for both protocols
|
||||
if ([ "$only_v4" = "yes" ] && [ "$only_v6" = "yes" ]) \
|
||||
|| [ -f "$__object/parameter/all" ]; then
|
||||
if { [ "$only_v4" = "yes" ] && [ "$only_v6" = "yes" ]; } ||
|
||||
[ -f "$__object/parameter/all" ]; then
|
||||
|
||||
# all to a specific directory
|
||||
specific_dir="$base_dir/all"
|
||||
|
|
Loading…
Reference in a new issue