mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Added compilers to report
This commit is contained in:
parent
72feac9638
commit
e13a9087ea
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,7 @@
|
|||
IsWorldExecutable ${ASBINARY}
|
||||
if [ $? -eq 1 ]; then
|
||||
logtext "Binary: found ${ASBINARY} (world executable)"
|
||||
report "compiler[]=${ASBINARY}"
|
||||
AddHP 2 3
|
||||
HARDEN_COMPILERS_NEEDED=1
|
||||
else
|
||||
|
|
@ -67,6 +68,7 @@
|
|||
IsWorldExecutable ${GCCBINARY}
|
||||
if [ $? -eq 1 ]; then
|
||||
logtext "Binary: found ${GCCBINARY} (world executable)"
|
||||
report "compiler[]=${GCCBINARY}"
|
||||
AddHP 2 3
|
||||
HARDEN_COMPILERS_NEEDED=1
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue