mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-24 22:34:33 +02:00
Merge pull request #779 from pyllyukko/gradm-stderr
Redirect gradm stderr to /dev/null
This commit is contained in:
commit
6c3fc531ec
@ -222,7 +222,7 @@
|
|||||||
Display --indent 2 --text "- Checking presence grsecurity" --result "${STATUS_NOT_FOUND}" --color WHITE
|
Display --indent 2 --text "- Checking presence grsecurity" --result "${STATUS_NOT_FOUND}" --color WHITE
|
||||||
fi
|
fi
|
||||||
if HasData "${GRADMBINARY}"; then
|
if HasData "${GRADMBINARY}"; then
|
||||||
FIND=$(${GRADMBINARY} --status)
|
FIND=$(${GRADMBINARY} --status 2>/dev/null)
|
||||||
if [ "${FIND}" = "The RBAC system is currently enabled." ]; then
|
if [ "${FIND}" = "The RBAC system is currently enabled." ]; then
|
||||||
MAC_FRAMEWORK_ACTIVE=1
|
MAC_FRAMEWORK_ACTIVE=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user