diff options
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Display.c b/nx-X11/programs/Xserver/hw/nxagent/Display.c index 85683503b..f4fc19578 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Display.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c @@ -407,7 +407,7 @@ static void nxagentSigchldHandler(int signal) * Leave the other children unaffected. */ - if (pid == 0 && nxagentRootlessDialogPid) + if (nxagentRootlessDialogPid) { pid = waitpid(nxagentRootlessDialogPid, &status, options); |