diff options
author | 2019-10-08 14:52:59 +0000 | |
---|---|---|
committer | 2019-10-08 14:52:59 +0000 | |
commit | 79aa5bce570f26279f628e7545669ae40097fb68 (patch) | |
tree | 6d111fbd355f1524580905d1bdb86dc49525cd2a | |
parent | add HAS_X11 conditional, disconnect session manager - #2205 (diff) | |
download | firejail-79aa5bce570f26279f628e7545669ae40097fb68.tar.gz firejail-79aa5bce570f26279f628e7545669ae40097fb68.tar.zst firejail-79aa5bce570f26279f628e7545669ae40097fb68.zip |
add x11 xorg option to HAS_X11 conditional - #2205
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 40f3c3be7..80a4bed5a 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -148,7 +148,7 @@ static int check_nodbus(void) { | |||
148 | } | 148 | } |
149 | 149 | ||
150 | static int check_x11(void) { | 150 | static int check_x11(void) { |
151 | return (arg_x11_block || getenv("FIREJAIL_X11")); | 151 | return (arg_x11_block || arg_x11_xorg || getenv("FIREJAIL_X11")); |
152 | } | 152 | } |
153 | 153 | ||
154 | static int check_disable_u2f(void) { | 154 | static int check_disable_u2f(void) { |