K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2004-07-21T13:53:14.000000Z K 7 svn:log V 440 MFC: daemon.c 1.6 daemon.3 1.13-1.14 Prevent abnormal termination of a child daemon process when created by a parent that is a session leader (e.g., login shell) by ignoring SIGHUP before calling fork(2) and then restoring SIGHUP's action after setsid(3). Based on the patch by Martin Kammerhofer . This has been in -current for 8 months with no reports of adverse affects. PR: bin/25462 Prompted-by: dada@sbox.tugraz.at END