diff options
author | Tony Asleson <tasleson@redhat.com> | 2019-10-10 16:49:09 -0500 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2019-10-30 10:38:40 -0500 |
commit | f56b21ae2c7667d69c050653d527f9071ef83ad5 (patch) | |
tree | 499d25a9986a204aa316d2905763e0c7a3223337 | |
parent | 9e15c83673436342a60b8f982e521eb32d972a0c (diff) | |
download | lvm2-f56b21ae2c7667d69c050653d527f9071ef83ad5.tar.gz |
lvmdbusd: Bug fix for activate/deactivate
Prevent the daemon from stalling when it gets stuck on a y/n prompt.
-rw-r--r-- | daemons/lvmdbusd/cmdhandler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/lvmdbusd/cmdhandler.py b/daemons/lvmdbusd/cmdhandler.py index 67d432102..e0bb10563 100644 --- a/daemons/lvmdbusd/cmdhandler.py +++ b/daemons/lvmdbusd/cmdhandler.py @@ -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) |