aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-12-13 10:05:40 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-03-10 19:44:22 +0100
commit1b6b76b5bfb849586c73a9601a05eda39ca87ada (patch)
tree9ef140d90a7318735a952db73a22ed2277bb755e /nx-X11
parent35e41467a2ef4c2ddd4b545c2d68abf47278aa1e (diff)
downloadnx-libs-1b6b76b5bfb849586c73a9601a05eda39ca87ada.tar.gz
nx-libs-1b6b76b5bfb849586c73a9601a05eda39ca87ada.tar.bz2
nx-libs-1b6b76b5bfb849586c73a9601a05eda39ca87ada.zip
Display.c: pid is always 0, remove check
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Display.c2
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);