Changeset 387ec00e49b4b3dfca525990537842b57511b242
- Timestamp:
- 08/14/08 01:40:15
(5 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1218678015 +0000
- git-parent:
[dc665277a9a45aea3bae31ad39e74ed48440629b]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1218678015 +0000
- Message:
close fds too, refs #48
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rdafb532 |
r387ec00 |
|
| 235 | 235 | if(foreground) return child_main(); |
|---|
| 236 | 236 | |
|---|
| | 237 | close(STDIN_FILENO); |
|---|
| | 238 | close(STDOUT_FILENO); |
|---|
| | 239 | close(STDERR_FILENO); |
|---|
| 237 | 240 | if(fork()) exit(0); |
|---|
| 238 | 241 | setsid(); |
|---|