diff options
Diffstat (limited to 'tests/topotests/munet/mutini.py')
| -rwxr-xr-x | tests/topotests/munet/mutini.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/topotests/munet/mutini.py b/tests/topotests/munet/mutini.py index e805f3245d..e5f9931714 100755 --- a/tests/topotests/munet/mutini.py +++ b/tests/topotests/munet/mutini.py @@ -296,8 +296,12 @@ def be_init(new_pg, exec_args): # No exec so we are the "child". new_process_group() + # Reap children as init process + vdebug("installing local handler for SIGCHLD") + signal.signal(signal.SIGCHLD, sig_sigchld) + while True: - logging.info("parent: waiting to reap zombies") + logging.info("init: waiting to reap zombies") linux.pause() # NOTREACHED |
