Changeset 387ec00e49b4b3dfca525990537842b57511b242

Show
Ignore:
Timestamp:
08/14/08 01:40:15 (6 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
  • src/noitd.c

    rdafb532 r387ec00  
    235235  if(foreground) return child_main(); 
    236236 
     237  close(STDIN_FILENO); 
     238  close(STDOUT_FILENO); 
     239  close(STDERR_FILENO); 
    237240  if(fork()) exit(0); 
    238241  setsid();