Skip to content

Commit 2439b55

Browse files
author
David Grieser
committed
Fix.
1 parent c864642 commit 2439b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/proc/job_lazy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func (job *LazyJob) startProcessGracePeriod(ctx context.Context, pid int) {
111111
if job.HasStarted() {
112112
currentPid = job.cmd.Process.Pid
113113
}
114-
l.Warnf("original process PID %d seems to have exited or changed; current PID is %d. Skipping SIGKILL.", pidToReap, currentPid)
114+
l.Warnf("original process PID %d seems to have exited or changed; current PID is %d. Skipping SIGKILL.", pid, currentPid)
115115
} else {
116116
// job.process is nil, so it was cleaned up.
117117
l.Infof("process PID %d exited gracefully after SIGTERM", pid)

0 commit comments

Comments
 (0)