Tito sent more size tweaks.

This commit is contained in:
Rob Landley
2005-09-08 03:27:06 +00:00
parent 230b411de8
commit 9f0e00fc61
4 changed files with 11 additions and 19 deletions

View File

@ -64,10 +64,8 @@ int openvt_main(int argc, char **argv)
fd = bb_xopen(vtname, O_RDWR);
/* Reassign stdout and sterr */
close(1);
close(2);
dup(fd);
dup(fd);
dup2(fd, STDOUT_FILENO);
dup2(fd, STDERR_FILENO);
execvp(argv[0], argv);
_exit(1);