diff --git a/include/tests_mac_frameworks b/include/tests_mac_frameworks index 14b34e4a..15d675a3 100644 --- a/include/tests_mac_frameworks +++ b/include/tests_mac_frameworks @@ -222,7 +222,7 @@ Display --indent 2 --text "- Checking presence grsecurity" --result "${STATUS_NOT_FOUND}" --color WHITE fi if HasData "${GRADMBINARY}"; then - FIND=$(${GRADMBINARY} --status) + FIND=$(${GRADMBINARY} --status 2>/dev/null) if [ "${FIND}" = "The RBAC system is currently enabled." ]; then MAC_FRAMEWORK_ACTIVE=1 fi