Add some additional proc_pgroup FLOGging

This commit is contained in:
ridiculousfish 2020-02-29 14:40:55 -08:00
parent 8eadef81a4
commit eb83794783

View File

@ -860,6 +860,7 @@ static bool terminal_return_from_job(job_t *j, int restore_attrs) {
return true;
}
FLOG(proc_pgroup, "fish reclaiming terminal after job pgid", j->pgid);
if (tcsetpgrp(STDIN_FILENO, getpgrp()) == -1) {
if (errno == ENOTTY) redirect_tty_output();
FLOGF(warning, _(L"Could not return shell to foreground"));