(create_process): Use child_setup_tty only if pty_flag.

This commit is contained in:
Richard M. Stallman 1994-04-24 03:10:24 +00:00
parent 13a72104de
commit ab01d0a826

View file

@ -1376,7 +1376,8 @@ create_process (process, new_argv, current_dir)
#endif /* not BSD4_1 */
#endif /* SIGCHLD */
child_setup_tty (xforkout);
if (pty_flag)
child_setup_tty (xforkout);
child_setup (xforkin, xforkout, xforkout,
new_argv, 1, current_dir);
}