aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2019-03-10 10:32:44 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2019-03-10 10:32:44 -0400
commitc100c5cc9b1a2c52cfb23a0252ffb1d9efc65b7a (patch)
tree3bd45f7d5a6e3b0e8064c0e4f26ee211ccfb670a /src
parentchecking for invalid chars in profile filename before any other processing (diff)
downloadfirejail-c100c5cc9b1a2c52cfb23a0252ffb1d9efc65b7a.tar.gz
firejail-c100c5cc9b1a2c52cfb23a0252ffb1d9efc65b7a.tar.zst
firejail-c100c5cc9b1a2c52cfb23a0252ffb1d9efc65b7a.zip
fix --list reporting for sandboxes using --x11=none; to be ported to LTS and firetools
Diffstat (limited to 'src')
-rw-r--r--src/lib/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/common.c b/src/lib/common.c
index 3d701e62f..1678a4092 100644
--- a/src/lib/common.c
+++ b/src/lib/common.c
@@ -254,7 +254,7 @@ int pid_proc_cmdline_x11_xpra_xephyr(const pid_t pid) {
254 if (strncmp(arg, "--", 2) != 0) 254 if (strncmp(arg, "--", 2) != 0)
255 break; 255 break;
256 256
257 if (strcmp(arg, "--x11=xorg") == 0) 257 if (strcmp(arg, "--x11=xorg") == 0 || strcmp(arg, "--x11=none") == 0)
258 return 0; 258 return 0;
259 259
260 // check x11 xpra or xephyr 260 // check x11 xpra or xephyr