summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rwxr-xr-xserver/lib/security-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/security-config b/server/lib/security-config
index c6f6fdfa..76870b12 100755
--- a/server/lib/security-config
+++ b/server/lib/security-config
@@ -73,7 +73,7 @@ fi
# SELinux configuration.
if which setsebool &>/dev/null; then
- if [ "$(getenforce)" != "Disabled" ]; then
+ if selinuxenabled; then
echo "Configuring SELinux."
# Configuring Apache.
setsebool -P httpd_can_connect_ldap on