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

3
std.c
View File

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