diff --git a/include/tests_ports_packages b/include/tests_ports_packages index 5cc9ed06..0f5a3e0b 100644 --- a/include/tests_ports_packages +++ b/include/tests_ports_packages @@ -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