diff options
author | runge <runge> | 2007-10-27 22:45:30 +0000 |
---|---|---|
committer | runge <runge> | 2007-10-27 22:45:30 +0000 |
commit | 81ef0b9345dd393fea8edab879ee1fd8f0bf9e81 (patch) | |
tree | 6866c2f68f25a00cbfb4f636282fd9cf52bf4a37 /x11vnc/cleanup.c | |
parent | be9dc49025c3588e6b01051263ca410769174ea4 (diff) | |
download | libtdevnc-81ef0b9345dd393fea8edab879ee1fd8f0bf9e81.tar.gz libtdevnc-81ef0b9345dd393fea8edab879ee1fd8f0bf9e81.zip |
x11vnc: -proxy, -ssh options. ncache bug in -8to24, Selection "targets" bugfix.
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r-- | x11vnc/cleanup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c index 2ce62a8..e8d0c63 100644 --- a/x11vnc/cleanup.c +++ b/x11vnc/cleanup.c @@ -133,6 +133,10 @@ void clean_up_exit (int ret) { if (avahi) { avahi_cleanup(); } + if (ssh_pid > 0) { + kill(ssh_pid, SIGTERM); + ssh_pid = 0; + } #ifdef MACOSX if (client_connect_file) { |