1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-23 10:50:34 +03:00

lvmdbusd: ensure readout on exit

This commit is contained in:
Zdenek Kabelac 2025-03-16 13:11:54 +01:00
parent 154befd4b8
commit c9ee8d8a06

View File

@ -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))