mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 18:33:16 +00:00
Fix SELinux detection.
This commit is contained in:
parent
d732b5aa67
commit
946a3f0725
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue