From: Mark Mielke Date: Wed, 29 Jul 2020 03:35:19 +0000 (-0400) Subject: vncserver: Remove legacy HP-UX support X-Git-Tag: v1.10.90~5^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9842baa3ccf9aa8464f1d4eff840a1930cc18877;p=tigervnc.git vncserver: Remove legacy HP-UX support The check for existence of `/usr/spool/sockets/X11/` has been removed. This file is only relevant on HP-UX, and TigerVNC dropped support for HP-UX in commit 31e5aa3. --- diff --git a/unix/vncserver/vncserver.in b/unix/vncserver/vncserver.in index 9f3a4750..2707bace 100755 --- a/unix/vncserver/vncserver.in +++ b/unix/vncserver/vncserver.in @@ -391,13 +391,6 @@ sub CheckDisplayNumber return 0; } - if (-e "/usr/spool/sockets/X11/$n") { - warn("\nWarning: $host:$n is taken because of ". - "/usr/spool/sockets/X11/$n\n"); - warn "Remove this file if there is no X server $host:$n\n"; - return 0; - } - return 1; }