This spams stderr in an ugly way. Users should look at the logs.
In particular, filestore upgrades spam the console, which is unpleasant.
Signed-off-by: Sage Weil <sage@inktank.com>
if (r < 0)
exit(1);
+
// Set up crypto, daemonize, etc.
- // Leave stderr open in case we need to report errors.
- global_init_daemonize(g_ceph_context, CINIT_FLAG_NO_CLOSE_STDERR);
+ global_init_daemonize(g_ceph_context, 0);
common_init_finish(g_ceph_context);
if (g_conf->filestore_update_to >= (int)FileStore::on_disk_version) {