]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/erasure-code/ceph_erasure_code.cc
update sources to v12.1.2
[ceph.git] / ceph / src / test / erasure-code / ceph_erasure_code.cc
index f15c698a58ee12cfb3a4c85ac1eea662a6315007..249362fec5a089c6606e17a2571bccf7ce6e6174 100644 (file)
@@ -91,7 +91,7 @@ int ErasureCodeCommand::setup(int argc, char** argv) {
   g_ceph_context->_conf->apply_changes(NULL);
   const char* env = getenv("CEPH_LIB");
   string directory(env ? env : ".libs");
-  g_conf->set_val("erasure_code_dir", directory, false);
+  g_conf->set_val_or_die("erasure_code_dir", directory, false);
 
   if (vm.count("help")) {
     cout << desc << std::endl;