mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
lvmdbusd: Prefix tag string with '@'
This commit is contained in:
parent
257ce5733e
commit
7412690dd2
@ -235,10 +235,7 @@ def pv_remove(device, remove_options):
|
|||||||
|
|
||||||
|
|
||||||
def _qt(tag_name):
|
def _qt(tag_name):
|
||||||
# When running in lvm shell you need to quote the tags
|
return '@%s' % tag_name
|
||||||
if cfg.SHELL_IN_USE:
|
|
||||||
return '"%s"' % tag_name
|
|
||||||
return tag_name
|
|
||||||
|
|
||||||
|
|
||||||
def _tag(operation, what, add, rm, tag_options):
|
def _tag(operation, what, add, rm, tag_options):
|
||||||
|
Loading…
Reference in New Issue
Block a user