summaryrefslogtreecommitdiffstats
path: root/x11vnc/unixpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/unixpw.c')
-rw-r--r--x11vnc/unixpw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c
index e0e102d..36cf269 100644
--- a/x11vnc/unixpw.c
+++ b/x11vnc/unixpw.c
@@ -16,6 +16,7 @@ extern char *crypt(const char*, const char *);
#include "connections.h"
#include "user.h"
#include "connections.h"
+#include "sslhelper.h"
#include "cursor.h"
#include <rfb/default8x16.h>
@@ -1518,6 +1519,8 @@ static void apply_opts (char *user) {
void unixpw_accept(char *user) {
apply_opts(user);
+ ssl_helper_pid(0, -2); /* waitall */
+
if (accept_cmd && strstr(accept_cmd, "popup") == accept_cmd) {
if (use_dpy && strstr(use_dpy, "WAIT:") == use_dpy &&
dpy == NULL) {