summaryrefslogtreecommitdiff
path: root/src/selinux-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/selinux-setup.c')
-rw-r--r--src/selinux-setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/selinux-setup.c b/src/selinux-setup.c
index c32c7ad8db..9ff27dcd77 100644
--- a/src/selinux-setup.c
+++ b/src/selinux-setup.c
@@ -39,7 +39,8 @@ int selinux_setup(char *const argv[]) {
int enforce = 0;
/* Already initialized? */
- if (path_is_mount_point("/selinux") > 0)
+ if (path_is_mount_point("/sys/fs/selinux") > 0 ||
+ path_is_mount_point("/selinux") > 0)
return 0;
/* Before we load the policy we create a flag file to ensure