mirror of https://github.com/CISOfy/lynis.git
Improved logging
This commit is contained in:
parent
b936f3b05b
commit
d0d76c44cb
|
@ -620,7 +620,7 @@
|
||||||
if [ -f /var/db/pkg/pkgs-vulnerabilities ]; then
|
if [ -f /var/db/pkg/pkgs-vulnerabilities ]; then
|
||||||
FIND=`/usr/sbin/pkg_admin audit`
|
FIND=`/usr/sbin/pkg_admin audit`
|
||||||
if [ "${FIND}" = "" ]; then
|
if [ "${FIND}" = "" ]; then
|
||||||
LogText "Result: pkg audit results are clean"
|
LogText "Result: pkg_admin audit results are clean"
|
||||||
Display --indent 2 --text "- Checking pkg_admin audit to obtain vulnerable packages" --result "${STATUS_NONE}" --color GREEN
|
Display --indent 2 --text "- Checking pkg_admin audit to obtain vulnerable packages" --result "${STATUS_NONE}" --color GREEN
|
||||||
AddHP 10 10
|
AddHP 10 10
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue