]> source.dussan.org Git - tigervnc.git/commitdiff
vncserver: Remove legacy HP-UX support
authorMark Mielke <mark.mielke@gmail.com>
Wed, 29 Jul 2020 03:35:19 +0000 (23:35 -0400)
committerMark Mielke <mark.mielke@gmail.com>
Wed, 29 Jul 2020 04:30:34 +0000 (00:30 -0400)
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.

unix/vncserver/vncserver.in

index 9f3a475017a4c334eb20310168c1d6c67fc465f5..2707bace83e1d99d32e06a3fdc719724d174800f 100755 (executable)
@@ -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;
 }