Add back line mistakenly removed in 0cf2a9351740

This commit is contained in:
Todd C. Miller
2016-09-11 14:37:42 -06:00
parent 86ce2f89fd
commit 533c9ce108

View File

@@ -1201,7 +1201,8 @@ handle_sigchld(int backchannel, struct command_status *cstat)
pid = tcgetpgrp(io_fds[SFD_SLAVE]);
} while (pid == -1 && errno == EINTR);
if (pid != mon_pgrp)
send_status(backchannel, cstat);
cmnd_pgrp = pid;
send_status(backchannel, cstat);
}
}