From 9842baa3ccf9aa8464f1d4eff840a1930cc18877 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/vncserver.in | 7 ------- 1 file changed, 7 deletions(-) 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; } -- 2.39.5