remove stdio slave pty opening

This commit is contained in:
Matthias-Christian Ott 2008-06-02 18:41:23 +02:00
parent e2ac1676b1
commit 40c0ecfe82
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;
}