1
0
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:
Tony Asleson 2016-08-29 18:00:21 -05:00
parent 257ce5733e
commit 7412690dd2

View File

@ -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):