Fix SELinux detection.

This commit is contained in:
Török Edvin 2010-08-09 23:48:31 +03:00
parent d732b5aa67
commit 946a3f0725

View file

@ -107,7 +107,7 @@ static int detect_SELinux(void)
if (!f)
return 0;
while (fgets(line, sizeof(line), f)) {
if (strstr(line, " selinuxfs\n")) {
if (strstr(line, "selinuxfs\n")) {
selinux = 1;
break;
}