Skip to content

Commit

Permalink
Process procs with exit status != 0, too.
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed Feb 9, 2019
1 parent c132ef3 commit 6ff6006
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -641,9 +641,9 @@ abstract class ServiceAbstract {
if ($pid == $procv['pid']) { if ($pid == $procv['pid']) {
unset($procs[$prock]); unset($procs[$prock]);
// Skip child processes without exit status 0. // Skip child processes without exit status 0.
if (0 !== pcntl_wexitstatus($status)) { //if (0 !== pcntl_wexitstatus($status)) {
continue; // continue;
} //}
$data = ""; $data = "";
// Read data from socket and deserialize it. // Read data from socket and deserialize it.
while (TRUE) { while (TRUE) {
Expand Down

0 comments on commit 6ff6006

Please sign in to comment.