HomeFreeBSD

Store PID after becoming a daemon() and not before to ensure the

Description

Store PID after becoming a daemon() and not before to ensure the
correct PID gets written to the PID file.

Submitted by: Maxime Soule <btik-fbsd@scoubidou.com>
PR: 203252
MFC after: 2 weeks

Details

Provenance
hselaskyAuthored on
Parents
rS288334: Remove some debugging that wasn't supposed to be there.
Branches
Unknown
Tags
Unknown