aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fusermount.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 1843f50..dc30fde 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -851,17 +851,7 @@ static int try_open_fuse_device(char **devp)
static int open_fuse_device(char **devp)
{
- int fd;
-
- if (getuid() == 0) {
- fd = try_open_fuse_device(devp);
- if (fd >= -1)
- return fd;
-
- system("modprobe fuse");
- }
-
- fd = try_open_fuse_device(devp);
+ int fd = try_open_fuse_device(devp);
if (fd >= -1)
return fd;