From f56b21ae2c7667d69c050653d527f9071ef83ad5 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 10 Oct 2019 16:49:09 -0500 Subject: [PATCH] lvmdbusd: Bug fix for activate/deactivate Prevent the daemon from stalling when it gets stuck on a y/n prompt. --- daemons/lvmdbusd/cmdhandler.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.43.5