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:
parent
2c5762038a
commit
8e1e40c499
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user