From a19f2576aa9bffcc5349cca8c8afd0bb04983aa6 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 5 Oct 2019 17:50:45 +0200 Subject: [PATCH] LRM shutdown request: propagate if we could not write out LRM status Signed-off-by: Thomas Lamprecht --- src/PVE/HA/LRM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/HA/LRM.pm b/src/PVE/HA/LRM.pm index 3b4a572..ea58ab8 100644 --- a/src/PVE/HA/LRM.pm +++ b/src/PVE/HA/LRM.pm @@ -106,7 +106,7 @@ sub shutdown_request { $self->{shutdown_request} = 1; - eval { $self->update_lrm_status(); }; + eval { $self->update_lrm_status() or die "not quorate?\n"; }; if (my $err = $@) { $self->log('err', "unable to update lrm status file - $err"); } -- 2.39.2