mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-10-23 07:34:24 +02:00
[ Upstream commit 6ae0042f4d3f331e841495eb0a3d51598e593ec2 ]
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:
|
||
|---|---|---|
| .. | ||
| genheaders | ||
| mdp | ||
| install_policy.sh | ||
| Makefile | ||
| README | ||
Please see Documentation/admin-guide/LSM/SELinux.rst for information on installing a dummy SELinux policy.