remove stdio slave pty opening

master
Matthias-Christian Ott 17 years ago
parent e2ac1676b1
commit 40c0ecfe82

@ -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;
} }

Loading…
Cancel
Save