aboutsummaryrefslogtreecommitdiffstats
path: root/src/faudit/x11.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-10-01 13:50:58 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-10-01 13:50:58 -0400
commit27bffbfeb2295f7d460f78dd93e02aa2f9b0a00c (patch)
treeda675f6056ea3e4dd2386c447c6eca0c072ac252 /src/faudit/x11.c
parentpotential Gentoo fix (diff)
downloadfirejail-27bffbfeb2295f7d460f78dd93e02aa2f9b0a00c.tar.gz
firejail-27bffbfeb2295f7d460f78dd93e02aa2f9b0a00c.tar.zst
firejail-27bffbfeb2295f7d460f78dd93e02aa2f9b0a00c.zip
disable x11 abstract socket for --x11=block
Diffstat (limited to 'src/faudit/x11.c')
-rw-r--r--src/faudit/x11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/faudit/x11.c b/src/faudit/x11.c
index e1a4bf66e..43f40f4e9 100644
--- a/src/faudit/x11.c
+++ b/src/faudit/x11.c
@@ -35,8 +35,9 @@ void x11_test(void) {
35 if (!(dir = opendir("/tmp/.X11-unix"))) { 35 if (!(dir = opendir("/tmp/.X11-unix"))) {
36 // sleep 2 seconds and try again 36 // sleep 2 seconds and try again
37 sleep(2); 37 sleep(2);
38 if (!(dir = opendir("/tmp/.X11-unix"))) 38 if (!(dir = opendir("/tmp/.X11-unix"))) {
39 ; 39 ;
40 }
40 } 41 }
41 42
42 if (dir == NULL) 43 if (dir == NULL)