diff options
Diffstat (limited to 'glustolibs-gluster')
-rw-r--r-- | glustolibs-gluster/glustolibs/gluster/volume_libs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/volume_libs.py b/glustolibs-gluster/glustolibs/gluster/volume_libs.py index a2ac55064..8a7806b04 100644 --- a/glustolibs-gluster/glustolibs/gluster/volume_libs.py +++ b/glustolibs-gluster/glustolibs/gluster/volume_libs.py @@ -423,7 +423,7 @@ def is_volume_exported(mnode, volname, share_type): cmd = "showmount -e localhost" _, _, _ = g.run(mnode, cmd) - cmd = "showmount -e localhost | grep %s" % volname + cmd = "showmount -e localhost | grep -w %s" % volname ret, _, _ = g.run(mnode, cmd) if ret != 0: return False |