diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-09-30 16:41:12 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-09-30 16:41:12 +0000 |
commit | 004a8c763ea66f91ed7a2a7ea9f28b4a16ba400c (patch) | |
tree | 7a22f525f0528865f52e0f8486ee12235421176e /util | |
parent | 708b4818f2d0b9a1e277de85a00a0355745a5cd0 (diff) |
fusermount: revert modprobe change
Diffstat (limited to 'util')
-rw-r--r-- | util/fusermount.c | 12 |
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; |