unix/fiss

fixing blocking waitpid (b62f3b6f66bc0ef260498c88c3a2fda6dd189bc5)
Repositories | LICENSE

commit b62f3b6f66bc0ef260498c88c3a2fda6dd189bc5
parent 232ad8e2ad33fb013e940028ffca72a45d6ba0f4
Author: Friedel Schön <[email protected]>
Date:   Mon, 22 May 2023 21:53:21 +0200

fixing blocking waitpid

Diffstat:
Msrc/stage.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stage.c b/src/stage.c @@ -94,7 +94,7 @@ void service_handle_stage(int stage) { printf("leave stage 1\n"); break; } - if (child != 0) { + if (child <= 0) { /* collect terminated children */ dont_wait = true;