Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: fix pid value by using getpid() in the child process
Previously ctx.pid was getting it's value indirectly from fork(), which is always zero in the child process. Fixed a bug introduced in 2b3ca2b. Signed-off-by: Egor Ignatov <egori@altlinux.org>
- Loading branch information