mount_fuse(): don't refer to non-used /etc/fuse.conf; mount_max is enforced
by kernels with unprivileged mount supportmaster
parent
52968a021e
commit
5de5fc1421
|
@ -583,8 +583,8 @@ static int mount_fuse(const char *mnt, const char *opts)
|
|||
|
||||
if (getuid() != 0 && mount_max != -1) {
|
||||
if (count_fuse_fs() >= mount_max) {
|
||||
fprintf(stderr, "%s: too many FUSE filesystems mounted; "
|
||||
"mount_max=N can be set in /etc/fuse.conf\n", progname);
|
||||
fprintf(stderr, "%s: too many mounted FUSE filesystems (%d+)\n",
|
||||
progname, mount_max);
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue