diff --git a/daemons/lvmdbusd/lvm_shell_proxy.py.in b/daemons/lvmdbusd/lvm_shell_proxy.py.in index 244fe93f5..ed2c7bc9e 100755 --- a/daemons/lvmdbusd/lvm_shell_proxy.py.in +++ b/daemons/lvmdbusd/lvm_shell_proxy.py.in @@ -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