From c9ee8d8a06ad4e2d62e57fbe2fe7938541102d2d Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sun, 16 Mar 2025 13:11:54 +0100 Subject: [PATCH] lvmdbusd: ensure readout on exit --- daemons/lvmdbusd/cmdhandler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemons/lvmdbusd/cmdhandler.py b/daemons/lvmdbusd/cmdhandler.py index bdc7ba34d..f5f14d971 100644 --- a/daemons/lvmdbusd/cmdhandler.py +++ b/daemons/lvmdbusd/cmdhandler.py @@ -160,6 +160,8 @@ def call_lvm(command, debug=False, line_cb=None, # Check to see if process has terminated, None when running if process.poll() is not None: + stdout_text += read_decoded(process.stdout) + stderr_text += read_decoded(process.stderr) break except IOError as ioe: log_debug("call_lvm:" + str(ioe))