summaryrefslogtreecommitdiff
path: root/std.c
diff options
context:
space:
mode:
Diffstat (limited to 'std.c')
-rw-r--r--std.c3
1 files changed, 0 insertions, 3 deletions
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;
}