Fix style bug in prev. commit
This commit is contained in:
parent
e34fe8a408
commit
09d932cf40
@ -331,8 +331,7 @@ main(int argc, char *argv[])
|
||||
if (WIFSTOPPED(statusp)) {
|
||||
kill(getpid(), SIGSTOP);
|
||||
child_pgrp = getpgid(child_pid);
|
||||
if (tcgetpgrp(1) == getpgrp())
|
||||
{
|
||||
if (tcgetpgrp(1) == getpgrp()) { {
|
||||
tcsetpgrp(1, child_pgrp);
|
||||
kill(child_pid, SIGCONT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user