~alip/sydbox

e951fbfebc4d2612f6e85e02f99d32f5612e3aca — Ⓐlï P☮latel 10 months ago a43f7bc
syd: fix yet another signal handling bug

This prevents a hang on double SIGCHILD on exit.

Signed-off-by: Ⓐlï P☮latel <alip@exherbo.org>
1 files changed, 2 insertions(+), 0 deletions(-)

M src/syd-box.c
M src/syd-box.c => src/syd-box.c +2 -0
@@ 1284,6 1284,8 @@ static int sig_child(void)
			    SYD_WARN,
			    interruptcode, op,
			    (unsigned long)interruptstat);
		bury_process(p, true);
		goto reap;
	}

	if (p && process_is_zombie(p->pid)) {