Signed-off-by: Sage Weil <sage@redhat.com>
}
}
+ // Now we're ready to complain about config file parse errors
+ g_conf->complain_about_parse_errors(g_ceph_context);
+
// test leak checking
if (g_conf->debug_deliberately_leak_memory) {
derr << "deliberately leaking some memory" << dendl;
global_pre_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_DAEMON,
CINIT_FLAG_NO_DAEMON_ACTIONS);
g_conf->apply_changes(NULL);
+ g_conf->complain_about_parse_errors(g_ceph_context);
// do not common_init_finish(); do not start threads; do not do any of thing
// wonky things the daemon whose conf we are examining would do (like initialize