* Close fdSelf.

svn path=/nixos/trunk/; revision=10678
This commit is contained in:
Eelco Dolstra 2008-02-14 10:56:14 +00:00
parent f6fce91cb2
commit a05d842575
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ int main(int argc, char * * argv)
if (len == sizeof(real)) abort(); if (len == sizeof(real)) abort();
real[len] = 0; real[len] = 0;
close(fdSelf);
//printf("real = %s, len = %d\n", real, len); //printf("real = %s, len = %d\n", real, len);
execve(real, argv, environ); execve(real, argv, environ);