mirror of https://github.com/CISOfy/lynis.git
Corrected error redirection
This commit is contained in:
parent
8777a5e616
commit
f1c3c23cae
|
@ -658,7 +658,7 @@
|
|||
COUNT=0
|
||||
PACKAGE_AUDIT_TOOL_FOUND=1
|
||||
PACKAGE_AUDIT_TOOL="pkg audit"
|
||||
FIND=$(/usr/sbin/pkg audit 2>&1 /dev/null)
|
||||
FIND=$(/usr/sbin/pkg audit > /dev/null 2>&1)
|
||||
if [ $? -eq 0 ]; then
|
||||
LogText "Result: pkg audit results are clean"
|
||||
Display --indent 2 --text "- Checking pkg audit to obtain vulnerable packages" --result "${STATUS_NONE}" --color GREEN
|
||||
|
|
Loading…
Reference in New Issue