-#ifndef DEBUG
- if (fork())
- exit(0);
- for (cc = 0; cc < 10; cc++)
- (void) close(cc);
- (void) open("/", 0);
- (void) dup2(0, 1);
- (void) dup2(0, 2);
- { int t = open("/dev/tty", 2);
- if (t >= 0) {
- ioctl(t, TIOCNOTTY, (char *)0);
- (void) close(t);
- }
- }
-#endif