summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d5993618c5f..2799ec847c0 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.."