mirror of https://github.com/CISOfy/lynis.git
Added compilers to report
This commit is contained in:
parent
72feac9638
commit
e13a9087ea
|
@ -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 New Issue