From 8842271ddef2441d7b612e2ff235c3b12de580f4 Mon Sep 17 00:00:00 2001 From: cha0smaster Date: Thu, 27 Apr 2006 22:22:02 +0000 Subject: [PATCH] This code should be in fuse, if should exist at all. --- ChangeLog | 2 -- ntfsprogs/ntfsmount.c | 5 ----- 2 files changed, 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 033cbf61..eb1b2f5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -47,8 +47,6 @@ xx/xx/2006 - 1.13.1-WIP attribute completely and index entry (filename) completely and all in correct order. Essential for hunting bugs in directory operations code... (Anton) - - ntfsmount: workaround for libfuse not being able to find fusermount - when user uses mount(8). 27/02/2006 - 1.13.0 - Lots and lots and lots of fixes and enhancements. diff --git a/ntfsprogs/ntfsmount.c b/ntfsprogs/ntfsmount.c index 3ba3d194..0018b103 100644 --- a/ntfsprogs/ntfsmount.c +++ b/ntfsprogs/ntfsmount.c @@ -1802,11 +1802,6 @@ int main(int argc, char *argv[]) ntfs_fuse_destroy(); return 4; } - - /* Libfuse can't always find fusermount, so let's help it. */ - if (setenv("PATH", ":/bin:/usr/bin:/usr/local/bin", 0) == -1) - ntfs_log_perror("WARNING: Failed to set $PATH\n"); - /* Create filesystem. */ #if defined(FUSE_VERSION) && (FUSE_VERSION >= 25) if ((fuse_opt_add_arg(&margs, "") == -1 ||