NRK writes:
It sets up the sighandler and then immediately calls `sigchld`. So it
seems like the intention was to *actaully* reap some zombies and not
just setup the sighandler.

Ah, I see. This[0] is the thread that it comes from, and it mentions zombies from .Xsession or similar on exec. I suppose it could theoretically happen in a very small window between the shell doing its job and dwm taking over.

Ok, I'll reap before doing this for v2.

0: https://lists.suckless.org/dev/0908/0774.html

Reply via email to