mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
Some initial work towards resolving nasty fork/pthread issues, and to having a per-parser job list
This commit is contained in:
@@ -1133,7 +1133,7 @@ static void functions_def( const wcstring &name, wcstring &out )
|
||||
|
||||
case EVENT_JOB_ID:
|
||||
{
|
||||
job_t *j = job_get( next->param1.job_id );
|
||||
const job_t *j = job_get( next->param1.job_id );
|
||||
if( j )
|
||||
append_format( out, L" --on-job-exit %d", j->pgid );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user