1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-25 21:57:45 +03:00

lvmdbusd: Bug fix for activate/deactivate

Prevent the daemon from stalling when it gets stuck on a y/n prompt.
This commit is contained in:
Tony Asleson 2019-10-10 16:49:09 -05:00
parent 9e15c83673
commit f56b21ae2c

View File

@ -738,6 +738,7 @@ def activate_deactivate(op, name, activate, control_flags, options):
op += 'n'
cmd.append(op)
cmd.append("-y")
cmd.append(name)
return call(cmd)