mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 00:34:14 +02:00
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…
x
Reference in New Issue
Block a user