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 0d92bfbd595..f08c90e6b8d 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -412,7 +412,7 @@ main () } # Simple check to avoid multiple identical mounts - if grep -q " ${mount_point}.*fuse" $mounttab; then + if grep -q "[[:space:]+]${mount_point}[[:space:]+]fuse" $mounttab; then echo -n "$0: according to mtab, GlusterFS is already mounted on " echo "$mount_point" exit 0; |