diff options
-rw-r--r-- | src/global/global_init.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/global/global_init.cc b/src/global/global_init.cc index a977fbe2bc1..17f886cd6e9 100644 --- a/src/global/global_init.cc +++ b/src/global/global_init.cc @@ -144,13 +144,6 @@ void global_init_daemonize(CephContext *cct, int flags) // stop log thread g_ceph_context->_log->stop(); - int num_threads = Thread::get_num_threads(); - if (num_threads > 1) { - derr << "global_init_daemonize: BUG: there are " << num_threads - 1 - << " child threads already started that will now die!" << dendl; - exit(1); - } - int ret = daemon(1, 1); if (ret) { ret = errno; |