mirror of https://github.com/CISOfy/lynis.git
Performance tuning by removing full listing of binaries from log
This commit is contained in:
parent
b5636db587
commit
aa8410477e
include
|
@ -78,7 +78,6 @@
|
|||
N=`expr ${N} + 1`
|
||||
BINARY="${SCANDIR}/${I}"
|
||||
DISCOVERED_BINARIES="${DISCOVERED_BINARIES}${BINARY} "
|
||||
logtext "Binary: ${BINARY}"
|
||||
# Optimized, much quicker (limited file access needed)
|
||||
case ${I} in
|
||||
aa-status) APPARMORFOUND=1; AASTATUSBINARY=${BINARY}; logtext " Found known binary: aa-status (apparmor component) - ${BINARY}" ;;
|
||||
|
|
Loading…
Reference in New Issue