mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Update tests_mac_frameworks
Changed check from is executable to is not empty
This commit is contained in:
parent
349975103f
commit
eeec52b160
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@
|
|||
Display --indent 6 --text "- Checking current mode and config file" --result "${STATUS_WARNING}" --color RED
|
||||
fi
|
||||
Display --indent 8 --text "Current SELinux mode: ${FIND}"
|
||||
if [ -x "$SEMANAGEBINARY" ]; then
|
||||
if [ -n "${SEMANAGEBINARY}" ]; then
|
||||
PERMISSIVE=$(${SEMANAGEBINARY} permissive --list --noheading | ${TRBINARY} '\n' ' ')
|
||||
NPERMISSIVE=$(${SEMANAGEBINARY} permissive --list --noheading | ${WCBINARY} -l)
|
||||
Display --indent 8 --text "Found ${NPERMISSIVE} permissive SELinux object types"
|
||||
|
|
|
|||
Loading…
Reference in a new issue