aboutsummaryrefslogtreecommitdiffhomepage
path: root/std.c
diff options
context:
space:
mode:
authorGravatar Matthias-Christian Ott <ott@enolink.de>2008-06-02 18:41:23 +0200
committerGravatar Matthias-Christian Ott <ott@enolink.de>2008-06-02 18:41:23 +0200
commit40c0ecfe821036a3eefc210e6f5dc09e846ae5bf (patch)
treef13b30ddc162fd064241b968d751036d6eddb740 /std.c
parente2ac1676b10e71dcc2c11614637ea8f00d3ba9a1 (diff)
remove stdio slave pty opening
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;
}