diff options
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r-- | x11vnc/cleanup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c index 65e763b..3422d35 100644 --- a/x11vnc/cleanup.c +++ b/x11vnc/cleanup.c @@ -140,7 +140,7 @@ void clean_up_exit (int ret) { #ifdef MACOSX if (client_connect_file) { - if (strstr(client_connect_file, "/tmp/x11vnc-macosx-channel.") + if (strstr(client_connect_file, "/tmp/x11vnc-macosx-remote") == client_connect_file) { unlink(client_connect_file); } |