fix: fuse 2.6.x kernel module detection wasn't reliable
parent
d0a2e7d3a2
commit
4ae052cf3c
|
@ -2032,7 +2032,7 @@ static int has_fuseblk(void)
|
|||
}
|
||||
|
||||
while (fgets(buf, sizeof(buf), f))
|
||||
if (strcmp(buf, "fuseblk\n") == 0) {
|
||||
if (strstr(buf, "fuseblk\n")) {
|
||||
fclose(f);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue