summaryrefslogtreecommitdiffhomepage
path: root/shell/lash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/lash.c')
-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" */