grammar fix

This commit is contained in:
Igor Sysoev 2008-04-09 19:09:13 +00:00
parent 693bf6db1e
commit d52c878692

View File

@ -452,7 +452,7 @@ ngx_process_get_status(void)
* *
* When several processes exit at the same time FreeBSD may * When several processes exit at the same time FreeBSD may
* erroneously call the signal handler for exited process * erroneously call the signal handler for exited process
* despite waitpid() may be already called for this process * despite waitpid() may be already called for this process.
*/ */
if (err == NGX_ECHILD) { if (err == NGX_ECHILD) {
@ -507,8 +507,9 @@ ngx_process_get_status(void)
if (WEXITSTATUS(status) == 2 && ngx_processes[i].respawn) { if (WEXITSTATUS(status) == 2 && ngx_processes[i].respawn) {
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0,
"%s %P exited with fatal code %d and could not respawn", "%s %P exited with fatal code %d "
process, pid, WEXITSTATUS(status)); "and can not be respawn",
process, pid, WEXITSTATUS(status));
ngx_processes[i].respawn = 0; ngx_processes[i].respawn = 0;
} }
} }