mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 11:38:36 +08:00
log GetExitCodeProcess()'s errno
This commit is contained in:
parent
80027fc0a2
commit
130690fceb
@ -495,7 +495,7 @@ ngx_reap_worker(ngx_cycle_t *cycle, HANDLE h)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (GetExitCodeProcess(h, &code) == 0) {
|
if (GetExitCodeProcess(h, &code) == 0) {
|
||||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
|
ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno,
|
||||||
"GetExitCodeProcess(%P) failed",
|
"GetExitCodeProcess(%P) failed",
|
||||||
ngx_processes[n].pid);
|
ngx_processes[n].pid);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user