diff options
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index e8bcb337419..959f2272e2f 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -34,7 +34,7 @@ _init () # check whether getfattr exists export PATH - getfattr=$(which getfattr 2>/dev/null); + getfattr=$(command -v getfattr 2>/dev/null) if [ $? -ne 0 ]; then warn "WARNING: getfattr not found, certain checks will be skipped.." fi |