mount_fuse(): don't refer to non-used /etc/fuse.conf; mount_max is enforced

by kernels with unprivileged mount support
master
szaka 2008-04-10 23:48:22 +00:00
parent 52968a021e
commit 5de5fc1421
1 changed files with 2 additions and 2 deletions

View File

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