Also check pid in pselect_notify_setup.

Spotted by djm@.
This commit is contained in:
Darren Tucker 2021-08-20 10:48:13 +10:00
parent deaadcb93c
commit 9a2ed62173
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ pselect_notify_setup(void)
{
static int initialized;
if (initialized)
if (initialized && notify_pid == getpid())
return;
if (notify_pid == 0)
debug3_f("initializing");