mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Update tests_firewalls
This commit is contained in:
parent
f3ffbb0b48
commit
d61ac72d49
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue