mirror of https://github.com/CISOfy/lynis.git
Don't show umask exception, as it will trigger on Debian 8
This commit is contained in:
parent
a427eb6fa7
commit
b9dba2f3be
|
@ -914,11 +914,9 @@
|
||||||
AddHP 0 2
|
AddHP 0 2
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
LogText "Result: found no umask. Please check if this is correct"
|
# Some operating systems don't have a default umask defined in /etc/profile (Debian)
|
||||||
Display --indent 4 --text "- Checking umask (/etc/profile)" --result "NOT FOUND" --color YELLOW
|
LogText "Result: found no umask. Please check if this is correct"
|
||||||
ReportException "${TEST_NO}:01"
|
Display --indent 4 --text "- Checking umask (/etc/profile)" --result "NOT FOUND" --color YELLOW
|
||||||
ReportManual "AUTH-9328:01"
|
|
||||||
AddHP 0 2
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
LogText "Result: file /etc/profile does not exist"
|
LogText "Result: file /etc/profile does not exist"
|
||||||
|
|
Loading…
Reference in New Issue