Initialise the status variable. W_SETTERMSIG uses its value.
Submitted by: stefanf
This commit is contained in:
parent
b83d741b1c
commit
96089951e4
@ -1340,6 +1340,7 @@ JobRestart(Job *job)
|
||||
* actually put the thing in the job table.
|
||||
*/
|
||||
job->flags |= JOB_CONTINUING;
|
||||
status = 0;
|
||||
W_SETTERMSIG(&status, SIGCONT);
|
||||
JobFinish(job, &status);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user