From: Loic Dachary Date: Sun, 29 Dec 2013 11:24:48 +0000 (+0100) Subject: mon: fix indentation X-Git-Tag: v0.75~9^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=403f777b24d36b2bdf92289005186ec125ac736c;p=ceph.git mon: fix indentation Signed-off-by: Loic Dachary --- diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc index 78a2fa611e4c..863bce38b8a5 100644 --- a/src/ceph_mon.cc +++ b/src/ceph_mon.cc @@ -326,16 +326,16 @@ int main(int argc, const char **argv) // screwing us over Preforker prefork; if (!(flags & CINIT_FLAG_NO_DAEMON_ACTIONS)) { - if (g_conf->daemonize) { - global_init_prefork(g_ceph_context, 0); - prefork.prefork(); - if (prefork.is_parent()) { - return prefork.parent_wait(); + if (g_conf->daemonize) { + global_init_prefork(g_ceph_context, 0); + prefork.prefork(); + if (prefork.is_parent()) { + return prefork.parent_wait(); + } + global_init_postfork(g_ceph_context, 0); } - global_init_postfork(g_ceph_context, 0); - } - common_init_finish(g_ceph_context); - global_init_chdir(g_ceph_context); + common_init_finish(g_ceph_context); + global_init_chdir(g_ceph_context); } MonitorDBStore *store = new MonitorDBStore(g_conf->mon_data);