summaryrefslogtreecommitdiff
path: root/lash.c
diff options
context:
space:
mode:
authorEric Andersen2000-07-06 16:56:56 +0000
committerEric Andersen2000-07-06 16:56:56 +0000
commitb2731b11ef49c9ebbc8aa12e8f9a88bb909cbd71 (patch)
treea96e1724f90e386b34c1cfd067ce23e2f4a9043a /lash.c
parent1e03add675c58c17d96f51cafa008066d4220a09 (diff)
downloadbusybox-b2731b11ef49c9ebbc8aa12e8f9a88bb909cbd71.zip
busybox-b2731b11ef49c9ebbc8aa12e8f9a88bb909cbd71.tar.gz
Had an extra tcsetpgrp.
-Erik
Diffstat (limited to 'lash.c')
-rw-r--r--lash.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lash.c b/lash.c
index 2d6bfb5..7203ba3 100644
--- a/lash.c
+++ b/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" */