JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
remove stdio slave pty opening
authorMatthias-Christian Ott <ott@enolink.de>
Mon, 2 Jun 2008 16:41:23 +0000 (18:41 +0200)
committerMatthias-Christian Ott <ott@enolink.de>
Mon, 2 Jun 2008 16:41:23 +0000 (18:41 +0200)
std.c

diff --git a/std.c b/std.c
index ef946dd..080c490 100644 (file)
--- 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;
 }