summaryrefslogtreecommitdiffstats
path: root/x11vnc/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/gui.c')
-rw-r--r--x11vnc/gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/gui.c b/x11vnc/gui.c
index 3e27783..f5b8a8a 100644
--- a/x11vnc/gui.c
+++ b/x11vnc/gui.c
@@ -456,6 +456,7 @@ if (0) fprintf(stderr, "run_gui: %s -- %d %d\n", gui_xdisplay, connect_to_x11vnc
strcat(cmd, icon_mode_embed_id);
}
}
+ close_exec_fds();
pipe = popen(cmd, "w");
if (! pipe) {
fprintf(stderr, "could not run: %s\n", cmd);