From 845718d9fb4cf118c17c7ff537c19e58ae878d0e Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Mon, 30 Apr 2012 14:10:35 -0700 Subject: [PATCH] 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 --- src/global/global_init.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " -- 2.47.3