Had an extra tcsetpgrp.

-Erik
This commit is contained in:
Eric Andersen 2000-07-06 16:56:56 +00:00
parent 1e03add675
commit b2731b11ef
3 changed files with 0 additions and 12 deletions

4
lash.c
View File

@ -1020,10 +1020,6 @@ static int busy_loop(FILE * input)
}
free(command);
/* return controlling TTY back to parent process group before exiting */
if (tcsetpgrp(0, parent_pgrp))
perror("tcsetpgrp");
/* return controlling TTY back to parent process group before exiting */
if (tcsetpgrp(0, parent_pgrp))
perror("tcsetpgrp");

4
sh.c
View File

@ -1020,10 +1020,6 @@ static int busy_loop(FILE * input)
}
free(command);
/* return controlling TTY back to parent process group before exiting */
if (tcsetpgrp(0, parent_pgrp))
perror("tcsetpgrp");
/* return controlling TTY back to parent process group before exiting */
if (tcsetpgrp(0, parent_pgrp))
perror("tcsetpgrp");

View File

@ -1020,10 +1020,6 @@ static int busy_loop(FILE * input)
}
free(command);
/* return controlling TTY back to parent process group before exiting */
if (tcsetpgrp(0, parent_pgrp))
perror("tcsetpgrp");
/* return controlling TTY back to parent process group before exiting */
if (tcsetpgrp(0, parent_pgrp))
perror("tcsetpgrp");