X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/e2ac1676b10e71dcc2c11614637ea8f00d3ba9a1..40c0ecfe821036a3eefc210e6f5dc09e846ae5bf:/std.c diff --git a/std.c b/std.c index ef946dd..080c490 100644 --- a/std.c +++ b/std.c @@ -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; }