From 02c4a2efdea2293679258e15dad6d6ea3f2ed8ac Mon Sep 17 00:00:00 2001 From: szaka Date: Sun, 9 Mar 2008 13:29:29 +0000 Subject: [PATCH] mount_fuse(): remove obsolete workaround to be able to find fusermount. This piece of code resulted open source write NTFS. R.I.P. --- src/ntfs-3g.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 5a807ffd..1085b817 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -2172,10 +2172,6 @@ static struct fuse *mount_fuse(char *parsed_options) struct fuse *fh = NULL; struct fuse_args args = FUSE_ARGS_INIT(0, NULL); - /* Libfuse can't always find fusermount, so let's help it. */ - if (setenv("PATH", ":/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin", 0)) - ntfs_log_perror("WARNING: Failed to set $PATH\n"); - ctx->fc = try_fuse_mount(parsed_options); if (!ctx->fc) return NULL;