mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
New way of reporting a warning
This commit is contained in:
parent
784224f4e7
commit
cc4feee4e5
@ -634,7 +634,7 @@
|
||||
# Check results
|
||||
if [ ${FOUND} -eq 1 ]; then
|
||||
Display --indent 2 --text "- Check startup files (permissions)" --result "WARNING" --color RED
|
||||
ReportWarning ${TEST_NO} "H" "Found world writable startup scripts"
|
||||
ReportWarning ${TEST_NO} "Found world writable startup scripts" "-" "-"
|
||||
logtext "Result: found one or more scripts which are possibly writable by other users"
|
||||
AddHP 0 3
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user