aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/utils.c')
-rw-r--r--xorg-server/os/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/os/utils.c b/xorg-server/os/utils.c
index cbd5c7ad5..c514ae11a 100644
--- a/xorg-server/os/utils.c
+++ b/xorg-server/os/utils.c
@@ -290,7 +290,7 @@ LockServer(void)
int len;
char port[20];
- if (nolock)
+ if (nolock || NoListenAll)
return;
/*
* Path names
@@ -411,7 +411,7 @@ LockServer(void)
void
UnlockServer(void)
{
- if (nolock)
+ if (nolock || NoListenAll)
return;
if (!StillLocking) {