From: Greg Farnum Date: Mon, 30 Apr 2012 21:10:35 +0000 (-0700) Subject: global: fix incorrect CINIT flag. X-Git-Tag: v0.47~75^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=845718d9fb4cf118c17c7ff537c19e58ae878d0e;p=ceph.git global: fix incorrect CINIT flag. There is nobody responding to CLOSE_STDERR, but this block sure looks like it should be doing so. Fix that! Signed-off-by: Greg Farnum --- diff --git a/src/global/global_init.cc b/src/global/global_init.cc index 90c1edc04511..84644a6d91b6 100644 --- a/src/global/global_init.cc +++ b/src/global/global_init.cc @@ -183,7 +183,7 @@ void global_init_daemonize(CephContext *cct, int flags) << err << dendl; exit(1); } - if (!(flags & CINIT_FLAG_NO_DEFAULT_CONFIG_FILE)) { + if (!(flags & CINIT_FLAG_NO_CLOSE_STDERR)) { ret = global_init_shutdown_stderr(cct); if (ret) { derr << "global_init_daemonize: global_init_shutdown_stderr failed with "