fix: fuse 2.6.x kernel module detection wasn't reliable

master
szaka 2006-12-15 00:21:32 +00:00
parent d0a2e7d3a2
commit 4ae052cf3c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}