Skip to content

Commit

Permalink
global: fix incorrect CINIT flag.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gregsfortytwo committed Apr 30, 2012
1 parent 4c597fa commit 845718d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/global/global_init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 845718d

Please sign in to comment.