diff options
author | Tony Asleson <tasleson@redhat.com> | 2016-08-29 18:00:21 -0500 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2016-08-29 18:00:21 -0500 |
commit | 7412690dd2ca55d0a790ba50a3425565758130ce (patch) | |
tree | 7fb01997579a7dd39e34638f952733d6c01ade7d | |
parent | 257ce5733e386dbf3b270ca0efffe744f8d888c5 (diff) | |
download | lvm2-7412690dd2ca55d0a790ba50a3425565758130ce.tar.gz |
lvmdbusd: Prefix tag string with '@'
-rw-r--r-- | daemons/lvmdbusd/cmdhandler.py | 5 |
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): |