1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmdbusd: Correct undefined var

This commit is contained in:
Tony Asleson 2022-09-08 15:37:34 -05:00
parent a326e35cda
commit ed9072dad8

View File

@ -6,6 +6,7 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import errno
from .pv import load_pvs from .pv import load_pvs
from .vg import load_vgs from .vg import load_vgs
@ -167,7 +168,7 @@ class StateUpdate(object):
log_error("Too many errors in update_thread, exiting daemon") log_error("Too many errors in update_thread, exiting daemon")
cfg.debug.dump() cfg.debug.dump()
cfg.flightrecorder.dump() cfg.flightrecorder.dump()
bailing(e) bailing(errno.EFAULT)
cfg.exit_daemon() cfg.exit_daemon()
else: else:
# Slow things down when encountering errors # Slow things down when encountering errors