From 7235e5b1af090ffc9d87ac59daadf7926433b495 Mon Sep 17 00:00:00 2001 From: Rajesh Amaravathi Date: Tue, 13 Dec 2011 15:26:55 +0530 Subject: mount/fuse: export PATH for which in mount script exporting PATH environment variable for mount.glusterfs.in to correct the "which: no getfattr in ((null))" error during fuse mount. Change-Id: Id7d024c0d1cf3d265489557897e9e1f8e7ce4ce4 BUG: 765561 Signed-off-by: Rajesh Amaravathi Reviewed-on: http://review.gluster.com/782 Tested-by: Gluster Build System Reviewed-by: Jeff Darcy Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- xlators/mount/fuse/utils/mount.glusterfs.in | 1 + 1 file changed, 1 insertion(+) diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index b485a6f72..daf8ba92b 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -189,6 +189,7 @@ check_recursive_mount () # remove trailing / from mount point mnt_dir=${2%/}; + export PATH; # check whether getfattr exists which getfattr > /dev/null; if [ $? -ne 0 ]; then -- cgit