Rule should be split.

This commit is contained in:
Darko Poljak 2018-10-10 15:01:03 +02:00
parent 7a9dea9754
commit faed292a4e

View file

@ -31,7 +31,9 @@ case $1 in
if [ "$count" -ge 1 ]; then
for rule in *; do
echo "Applying iptables rule $rule ..."
iptables "$(cat "$rule")"
# Rule should be split.
# shellcheck disable=SC2046
iptables $(cat "$rule")
done
fi
;;