start_monitoring(): Fix incorrect assignment of 'handle_child_exits'

This commit is contained in:
Albert S. 2024-07-08 19:02:18 +02:00
parent cfe2182886
commit 25fe05e702

View File

@ -728,7 +728,7 @@ void start_monitoring(int ifd)
{ {
if(handle_child_exits) if(handle_child_exits)
{ {
handle_child_exits = 1; handle_child_exits = 0;
wait_for_children(); wait_for_children();
} }
int len; int len;