[pve-devel] [PATCH manager 1/2] ceph init: actually die on errors

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Jul 16 15:51:03 CEST 2019


instead of silently ignoring them

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 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;
     }});
-- 
2.20.1





More information about the pve-devel mailing list