From 25fe05e702ac83059db6a14d432bf2998f990caa Mon Sep 17 00:00:00 2001 From: "Albert S." Date: Mon, 8 Jul 2024 19:02:18 +0200 Subject: [PATCH] start_monitoring(): Fix incorrect assignment of 'handle_child_exits' --- adhocify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adhocify.c b/adhocify.c index 33984c5..ee98449 100644 --- a/adhocify.c +++ b/adhocify.c @@ -728,7 +728,7 @@ void start_monitoring(int ifd) { if(handle_child_exits) { - handle_child_exits = 1; + handle_child_exits = 0; wait_for_children(); } int len;