mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 00:13:12 +08:00
Add some additional proc_pgroup FLOGging
This commit is contained in:
parent
8eadef81a4
commit
eb83794783
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user