summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2016-08-29 18:00:21 -0500
committerTony Asleson <tasleson@redhat.com>2016-08-29 18:00:21 -0500
commit7412690dd2ca55d0a790ba50a3425565758130ce (patch)
tree7fb01997579a7dd39e34638f952733d6c01ade7d
parent257ce5733e386dbf3b270ca0efffe744f8d888c5 (diff)
downloadlvm2-7412690dd2ca55d0a790ba50a3425565758130ce.tar.gz
lvmdbusd: Prefix tag string with '@'
-rw-r--r--daemons/lvmdbusd/cmdhandler.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/daemons/lvmdbusd/cmdhandler.py b/daemons/lvmdbusd/cmdhandler.py
index 2739497bd..c8c7baab1 100644
--- a/daemons/lvmdbusd/cmdhandler.py
+++ b/daemons/lvmdbusd/cmdhandler.py
@@ -235,10 +235,7 @@ def pv_remove(device, remove_options):
def _qt(tag_name):
- # When running in lvm shell you need to quote the tags
- if cfg.SHELL_IN_USE:
- return '"%s"' % tag_name
- return tag_name
+ return '@%s' % tag_name
def _tag(operation, what, add, rm, tag_options):