Move job to front of most recently used job list when bg'd or fg'd.
This commit is contained in:
parent
7e9561b97a
commit
952d847c40
@ -255,6 +255,7 @@ restartjob(struct job *jp)
|
||||
|
||||
if (jp->state == JOBDONE)
|
||||
return;
|
||||
setcurjob(jp);
|
||||
INTOFF;
|
||||
killpg(jp->ps[0].pid, SIGCONT);
|
||||
for (ps = jp->ps, i = jp->nprocs ; --i >= 0 ; ps++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user