Had an extra tcsetpgrp.
-Erik
This commit is contained in:
parent
1e03add675
commit
b2731b11ef
4
lash.c
4
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");
|
||||
|
4
sh.c
4
sh.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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user