Fix quoting bug in zfs. (#4726)
parent
1e646aad2d
commit
01b32fec14
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "zfs - fix wrong quoting of properties (https://github.com/ansible-collections/community.general/issues/4707, https://github.com/ansible-collections/community.general/pull/4726)."
|
|
@ -160,7 +160,7 @@ class Zfs(object):
|
|||
elif prop == 'volblocksize':
|
||||
cmd += ['-b', value]
|
||||
else:
|
||||
cmd += ['-o', '%s="%s"' % (prop, value)]
|
||||
cmd += ['-o', '%s=%s' % (prop, value)]
|
||||
if origin and action == 'clone':
|
||||
cmd.append(origin)
|
||||
cmd.append(self.name)
|
||||
|
|
Loading…
Reference in New Issue