setenforce will not return 1 on run_tests.sh
checking selinuxenabled exit code before will ensure that the script does not exit prematurely, since the bash -e flag is set Change-Id: Id4f0831612f69f448e627453352bd88ce089da2f
This commit is contained in:
1 changed files with 1 additions and 1 deletions
@@ -97,7 +97,7 @@ elif is_fedora; then
$SUDO service auditd start
# SElinux in permissive mode so later we can catch alerts
$SUDO setenforce 0
$SUDO selinuxenabled && $SUDO setenforce 0
fi
PUPPET_ARGS="${PUPPET_ARGS} --detailed-exitcodes --color=false --test --trace"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.