Update tests_firewalls

This commit is contained in:
nser77 2024-10-14 11:13:39 +02:00 committed by GitHub
parent f3ffbb0b48
commit d61ac72d49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@
do
${IPTABLESBINARY} -t "${t}" -S -w 1 2>/dev/zero |
{
while IFS="\n" read -r line
while IFS="$(printf '\n')" read -r line
do
set -- ${line}
while [ $# -gt 0 ]
@ -163,7 +163,7 @@
done
# resume
if [ ! "${SORTBINARY}" = "" ]; then eq="$( echo "${errqueue}" | ${SORTBINARY} -u )"; else eq="${errqueue}"; fi
echo "${eq}" | while IFS="\n" read -r eql
echo "${eq}" | while IFS="$(printf '\n')" read -r eql
do
if [ ! "$eql" = "" ]
then