mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
remove stdio slave pty opening
This commit is contained in:
parent
e2ac1676b1
commit
40c0ecfe82
1 changed files with 0 additions and 3 deletions
3
std.c
3
std.c
|
@ -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…
Reference in a new issue