diff options
| -rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index 2b43f834b..cd371c8ce 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -154,9 +154,9 @@ function main ()      mount_point="$2";      # Simple check to avoid multiple identical mounts -    if grep -q "glusterfs.* $mount_point fuse" /etc/mtab; then +    if grep -q " $mount_point fuse" /etc/mtab; then          echo "$0: according to mtab, GlusterFS is already mounted on $mount_point" -        exit 1 +        exit 0      fi      fs_options=$(echo "$fs_options,$new_fs_options");  | 
