From 8e2b5110e5e881b3681582758ea5efe4d4c0b2ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 16 Jul 2019 15:51:03 +0200 Subject: [PATCH] ceph init: actually die on errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit instead of silently ignoring them Signed-off-by: Fabian Grünbichler --- PVE/API2/Ceph.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index 9c7b0dde..5a48e2d0 100644 --- a/PVE/API2/Ceph.pm +++ b/PVE/API2/Ceph.pm @@ -400,6 +400,7 @@ __PACKAGE__->register_method ({ } PVE::Ceph::Tools::setup_pve_symlinks(); }); + die $@ if $@; return undef; }});