mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02:00
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 | ||
| install_policy.sh | ||
| Makefile | ||
| README | ||
Please see Documentation/admin-guide/LSM/SELinux.rst for information on installing a dummy SELinux policy.