remove stdio slave pty opening

This commit is contained in:
Matthias-Christian Ott 2008-06-02 18:41:23 +02:00
parent 38c5ff876d
commit 28f831b74b
1 changed files with 0 additions and 3 deletions

3
std.c
View File

@ -319,8 +319,5 @@ main(int argc, char *argv[]) {
eprint("usage: st [-v]\n");
getpty();
shell();
fdopen(fptm, "r+");
if(!fptm)
eprintn("cannot open slave pty");
return 0;
}