From b2731b11ef49c9ebbc8aa12e8f9a88bb909cbd71 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 6 Jul 2000 16:56:56 +0000 Subject: Had an extra tcsetpgrp. -Erik --- shell/lash.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'shell') diff --git a/shell/lash.c b/shell/lash.c index 2d6bfb526..7203ba38f 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -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"); -- cgit v1.2.3