summaryrefslogtreecommitdiffhomepage
path: root/shell
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-06 16:56:56 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-06 16:56:56 +0000
commitb2731b11ef49c9ebbc8aa12e8f9a88bb909cbd71 (patch)
treea96e1724f90e386b34c1cfd067ce23e2f4a9043a /shell
parent1e03add675c58c17d96f51cafa008066d4220a09 (diff)
Had an extra tcsetpgrp.
-Erik
Diffstat (limited to 'shell')
-rw-r--r--shell/lash.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 2d6bfb526..7203ba38f 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1022,10 +1022,6 @@ static int busy_loop(FILE * input)
/* 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");
/* return exit status if called with "-c" */