Fix style bug in prev. commit

This commit is contained in:
Andrey A. Chernov 2002-08-12 17:23:06 +00:00
parent e34fe8a408
commit 09d932cf40
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101748

View File

@ -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);
}