diff --git a/setup.sh b/setup.sh index 3fa6816..21f2a3a 100755 --- a/setup.sh +++ b/setup.sh @@ -240,7 +240,7 @@ warning_prompt() { check_selinux() { # Check if distro has SELinux at all: - if [ ! -f /etc/selinux ]; then + if [ ! -d /etc/selinux ]; then log_success "SELinux not found. Skipping..." return 0 fi