summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRajesh Amaravathi <rajesh@redhat.com>2011-12-13 15:26:55 +0530
committerVijay Bellur <vijay@gluster.com>2011-12-13 09:43:36 -0800
commit7235e5b1af090ffc9d87ac59daadf7926433b495 (patch)
treede71d4932a2eea33e7996869a043b4b2b6b25804
parent91c7ad753884c81b46f05f200b9d9dc00eec5132 (diff)
mount/fuse: export PATH for which in mount scriptv3.3.0qa16
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 <rajesh@redhat.com> Reviewed-on: http://review.gluster.com/782 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Amar Tumballi <amar@gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index b485a6f724f..daf8ba92b23 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