Browse Source

remove stdio slave pty opening

Matthias-Christian Ott 17 years ago
parent
commit
40c0ecfe82
1 changed files with 0 additions and 3 deletions
  1. 0 3
      std.c

+ 0 - 3
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;
 }