mirror of https://github.com/CISOfy/lynis.git
New way of reporting a warning
This commit is contained in:
parent
784224f4e7
commit
cc4feee4e5
|
@ -634,7 +634,7 @@
|
||||||
# Check results
|
# Check results
|
||||||
if [ ${FOUND} -eq 1 ]; then
|
if [ ${FOUND} -eq 1 ]; then
|
||||||
Display --indent 2 --text "- Check startup files (permissions)" --result "WARNING" --color RED
|
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"
|
logtext "Result: found one or more scripts which are possibly writable by other users"
|
||||||
AddHP 0 3
|
AddHP 0 3
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue