-
- Downloads
Removed the sanity check of the castor::server::Daemon::daemonize() method
that is carried out when the method checks that the child has successfully detached from the parent by making sure the return value of getppid() is 1. I have removed the sanity check because it is time dependent. If the child calls getppid() before the parent has enough time to exit then the child gets the process ID of its true parent as opposed to the process ID of the init process.
Please register or sign in to comment