21ab4e
From aa9c7b187064b8913d71ea57db4b51808fa63fb7 Mon Sep 17 00:00:00 2001
21ab4e
From: Amar Tumballi <amarts@redhat.com>
21ab4e
Date: Thu, 5 Oct 2017 18:39:14 +0530
21ab4e
Subject: [PATCH 623/623] mount.glusterfs: fix the syntax error
21ab4e
21ab4e
BUG: 1498862
21ab4e
21ab4e
Change-Id: Ie5f291979fd797a4fd519c015577e18c3f953074
21ab4e
Signed-off-by: Amar Tumballi <amarts@redhat.com>
21ab4e
Reviewed-on: https://code.engineering.redhat.com/gerrit/119822
21ab4e
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
21ab4e
Tested-by: RHGS Build Bot <nigelb@redhat.com>
21ab4e
---
21ab4e
 xlators/mount/fuse/utils/mount.glusterfs.in | 1 +
21ab4e
 1 file changed, 1 insertion(+)
21ab4e
21ab4e
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
21ab4e
index e294c5a..ceaa085 100755
21ab4e
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
21ab4e
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
21ab4e
@@ -643,6 +643,7 @@ main ()
21ab4e
             first_char=$(echo "$volume_str" | cut -c 1);
21ab4e
             [ ${first_char} = '/' ] && {
21ab4e
                 volume_str_temp=$(echo "$volume_str" | cut -c 2-);
21ab4e
+            }
21ab4e
             [ $(echo $volume_str_temp | grep -c "/") -eq 1 ] && {
21ab4e
                 volume_id=$(echo "$volume_str_temp" | cut -f1 -d '/');
21ab4e
                 subdir_mount=$(echo "$volume_str_temp" | cut -f2- -d '/');
21ab4e
-- 
21ab4e
1.8.3.1
21ab4e