os-posix: reorder parent notification for -daemonize
Put "success" parent reporting in os_setup_post() to after all other initializers which may also fail, to the very end, so more possible failure cases are reported properly to the calling process. Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru> Reviewed-by: NGonglei <arei.gonglei@huawei.com>
Showing
想要评论请 注册 或 登录