From f814a932140c50161d5f53bd1937c914c6e3d136 Mon Sep 17 00:00:00 2001 From: Mark Mielke Date: Tue, 28 Jul 2020 23:35:19 -0400 Subject: [PATCH] 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. --- unix/vncserver | 7 ------- 1 file changed, 7 deletions(-) diff --git a/unix/vncserver b/unix/vncserver index 4770d0b..52975fa 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -552,13 +552,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; }