Permalink
Browse files

Process procs with exit status != 0, too.

Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information...
votdev committed Feb 9, 2019
1 parent c132ef3 commit 6ff60064a4bc9194ebaf24906718b47590f8b2c5
Showing with 3 additions and 3 deletions.
  1. +3 −3 deb/openmediavault/usr/share/php/openmediavault/rpc/serviceabstract.inc
@@ -641,9 +641,9 @@ abstract class ServiceAbstract {
if ($pid == $procv['pid']) {
unset($procs[$prock]);
// Skip child processes without exit status 0.
if (0 !== pcntl_wexitstatus($status)) {
continue;
}
//if (0 !== pcntl_wexitstatus($status)) {
// continue;
//}
$data = "";
// Read data from socket and deserialize it.
while (TRUE) {

0 comments on commit 6ff6006

Please sign in to comment.