fixes to job control changes

The job control changes need a couple of fixes for compatibility with
changes I merged while @mqudsi was workin on his change.
This commit is contained in:
Kurtis Rader
2017-08-06 15:25:42 -07:00
parent 52d739c746
commit 083224d1c0
2 changed files with 8 additions and 8 deletions

View File

@@ -845,7 +845,7 @@ bool terminal_give_to_job(job_t *j, int cont) {
if (errno == ENOTTY) redirect_tty_output();
debug(1, _(L"Could not send job %d ('%ls') with pgid %d to foreground"), j->job_id, j->command_wcstr(), j->pgid);
wperror(L"tcsetpgrp");
signal_unblock(true);
signal_unblock();
return false;
}