1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

lvmdbusd: Raise IOError instead of ignoring

We end up in a bad state if we simply eat IOErrors here.  Exit the lvmshell
process and raise the IOError.
This commit is contained in:
Tony Asleson 2022-09-08 15:41:20 -05:00
parent 2c5762038a
commit 8e1e40c499

View File

@ -108,7 +108,8 @@ class LVMShellProxy(object):
except IOError as ioe:
log_debug(str(ioe))
pass
self.exit_shell()
raise ioe
if keep_reading and run.value == 0:
# We didn't complete as we are shutting down