summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2013-12-20 12:27:30 +0530
committerVijay Bellur <vbellur@redhat.com>2013-12-24 02:32:30 -0800
commit67ddf10d07ea14e1b9faeabde9dfc700247a6377 (patch)
treebec9fa90fdbc7a04cd89a624a6e696bea5592b9a /xlators
parentf86c618cd0943930c391e6bf55fdf977b3245f36 (diff)
mount.glusterfs:export PATH environment variable
Problem: spurious warning: mount -t glusterfs 10.70.7.228:repvol /mnt/fuse_mnt/ WARNING: getfattr not found, certain checks will be skipped.. Fix: export PATH so that getfattr search succeeds. Change-Id: Ib19e2899e43a7d763a136b9fbc90823f743597a5 BUG: 1040348 Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/6545 Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Tested-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators')
-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 d5993618c..2799ec847 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -26,6 +26,7 @@ _init ()
cmd_line=$(echo "@sbindir@/glusterfs");
# check whether getfattr exists
+ export PATH
getfattr=$(which getfattr 2>/dev/null);
if [ $? -ne 0 ]; then
echo "WARNING: getfattr not found, certain checks will be skipped.."