fix
diff --git a/ChangeLog b/ChangeLog
index 417955d..1b7fe96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
2006-01-02 Miklos Szeredi <miklos@szeredi.hu>
- * Fix mount.fuse so that it ignores the 'user' option.
- Report and solution from Mattd.
+ * mount.fuse: the 'user' option should be ignored. Report and
+ solution from Mattd.
+
+ * mount.fuse: export PATH in the right place. Report and patch
+ from Hannes Schweizer
2005-12-16 Miklos Szeredi <miklos@szeredi.hu>
diff --git a/util/mount.fuse b/util/mount.fuse
index db9562f..3ea6d9e 100644
--- a/util/mount.fuse
+++ b/util/mount.fuse
@@ -26,6 +26,7 @@
FSTYPE=${1%%\#*} # for now i have to be same as FUSE mount binary
# should be configurable
+export PATH
FSBIN=`which ${FSTYPE} 2>/dev/null` \
|| die "Can not find FUSE mount binary for FS ${FSTYPE}" 1
@@ -42,8 +43,4 @@
OPTIONS=`echo $@ | sed 's/,user//'`
-export PATH
${FSTYPE} ${MOUNTPATH} ${MOUNTPOINT} ${OPTIONS}
-
-
-