mirror of https://github.com/CISOfy/lynis.git
Update tests_firewalls
This commit is contained in:
parent
f3ffbb0b48
commit
d61ac72d49
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue