Fix SELinux detection.

0.96
Török Edvin 16 years ago
parent d732b5aa67
commit 946a3f0725
  1. 2
      libclamav/bytecode_detect.c

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

Loading…
Cancel
Save