remove OSF1 support
This commit is contained in:
@@ -77,16 +77,11 @@ BecomeDaemon( void )
|
||||
* Close standard file descriptors and get rid of controlling tty
|
||||
*/
|
||||
|
||||
#ifdef __osf__
|
||||
/* use setsid() instead of setpgrp() */
|
||||
setsid();
|
||||
#else
|
||||
#if defined(SYSV) || defined (SVR4) || defined(linux)
|
||||
setpgrp ();
|
||||
#else
|
||||
setpgrp (0, getpid());
|
||||
#endif
|
||||
#endif /* __osf__ */
|
||||
|
||||
close (0);
|
||||
close (1);
|
||||
|
||||
Reference in New Issue
Block a user