Skip to content
  • Steven Murray's avatar
    Removed the sanity check of the castor::server::Daemon::daemonize() method · c8214013
    Steven Murray authored
    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.
    c8214013