vncserver: Remove legacy HP-UX support

The check for existence of `/usr/spool/sockets/X11/<n>` has been
removed. This file is only relevant on HP-UX, and TigerVNC dropped
support for HP-UX in commit 31e5aa3.
This commit is contained in:
Mark Mielke 2020-07-28 23:35:19 -04:00 committed by Lauri Kasanen
parent 285bcfb141
commit f814a93214

View File

@ -552,13 +552,6 @@ sub CheckDisplayNumber
return 0; 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; return 1;
} }