diff options
Diffstat (limited to 'x11vnc/sslcmds.c')
-rw-r--r-- | x11vnc/sslcmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/sslcmds.c b/x11vnc/sslcmds.c index e9e3208..4b05a7d 100644 --- a/x11vnc/sslcmds.c +++ b/x11vnc/sslcmds.c @@ -29,6 +29,8 @@ void check_stunnel(void) { } last_check = now; + /* double check that stunnel is still running: */ + if (stunnel_pid > 0) { int status; waitpid(stunnel_pid, &status, WNOHANG); |