Fix selinux test

This commit is contained in:
Anthony Green
2010-07-10 08:59:09 -04:00
parent 6309741522
commit eaf444eabc
8 changed files with 4816 additions and 1 deletions

View File

@@ -146,7 +146,7 @@ selinux_enabled_check (void)
p = strchr (p + 1, ' ');
if (p == NULL)
break;
if (strncmp (p + 1, "selinuxfs ", 10) != 0)
if (strncmp (p + 1, "selinuxfs ", 10) == 0)
{
free (buf);
fclose (f);