grammar fix
Igor Sysoev
14 years ago
451 | 451 | * |
452 | 452 | * When several processes exit at the same time FreeBSD may |
453 | 453 | * erroneously call the signal handler for exited process |
454 | * despite waitpid() may be already called for this process | |
454 | * despite waitpid() may be already called for this process. | |
455 | 455 | */ |
456 | 456 | |
457 | 457 | if (err == NGX_ECHILD) { |
506 | 506 | |
507 | 507 | if (WEXITSTATUS(status) == 2 && ngx_processes[i].respawn) { |
508 | 508 | ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, |
509 | "%s %P exited with fatal code %d and could not respawn", | |
510 | process, pid, WEXITSTATUS(status)); | |
509 | "%s %P exited with fatal code %d " | |
510 | "and can not be respawn", | |
511 | process, pid, WEXITSTATUS(status)); | |
511 | 512 | ngx_processes[i].respawn = 0; |
512 | 513 | } |
513 | 514 | } |