]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
global/global_init: close stdout in postfork_finish, not start 21705/head
authorSage Weil <sage@redhat.com>
Fri, 2 Mar 2018 03:52:33 +0000 (21:52 -0600)
committerNathan Cutler <ncutler@suse.com>
Fri, 11 May 2018 20:04:48 +0000 (22:04 +0200)
commit037951c51fde564f2ee42e36351a97b041535172
treec50826a85704695fe7836fdf8afa3c42d85389f6
parent3e8b5d588e64f9090bcbaa33adc903c0e7a8659d
global/global_init: close stdout in postfork_finish, not start

During the interval where we have done our prefork but not actually
detached from the parent to daemonize, we may still want to send output
to stdout.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 056d02b0649d28200170f729dc0d625209206cfb)
src/global/global_init.cc