mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Initialise the status variable. W_SETTERMSIG uses its value.
Submitted by: stefanf
This commit is contained in:
parent
b83d741b1c
commit
96089951e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141647
@ -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