mirror of https://github.com/CISOfy/lynis.git
Small change regarding logging item to report
This commit is contained in:
parent
50907dd21a
commit
defecac381
|
@ -332,7 +332,7 @@
|
||||||
for I in ${FIND}; do
|
for I in ${FIND}; do
|
||||||
N=`expr ${N} + 1`
|
N=`expr ${N} + 1`
|
||||||
logtext "Found listening info: ${I}"
|
logtext "Found listening info: ${I}"
|
||||||
report "network_listen_port=${I}"
|
report "network_listen_port[]=${I}"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -340,7 +340,7 @@
|
||||||
for I in ${FIND2}; do
|
for I in ${FIND2}; do
|
||||||
N=`expr ${N} + 1`
|
N=`expr ${N} + 1`
|
||||||
logtext "Found listening info: ${I}"
|
logtext "Found listening info: ${I}"
|
||||||
report "network_listen_port=${I}"
|
report "network_listen_port[]=${I}"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
if [ "${FIND}" = "" -a "${FIND2}" = "" ]; then
|
if [ "${FIND}" = "" -a "${FIND2}" = "" ]; then
|
||||||
|
|
Loading…
Reference in New Issue