Subshell evaluations are not exempt from errexit, so if a command is
not available, `which` will fail and exit the script as a whole.
This causes the helpful error messages to not be printed if they are
tacked on using a `$?` comparison.
Resolve the issue by using chains of logical operators, which are not
subject to the effects of errexit.
Fixes:
|
||
---|---|---|
.. | ||
mdp | ||
Makefile | ||
README | ||
install_policy.sh |
README
Please see Documentation/admin-guide/LSM/SELinux.rst for information on installing a dummy SELinux policy.