diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/x11.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c index 15d600991..090ff6f3b 100644 --- a/src/firejail/x11.c +++ b/src/firejail/x11.c | |||
@@ -216,10 +216,6 @@ void x11_start_xephyr(int argc, char **argv) { | |||
216 | continue; | 216 | continue; |
217 | if (strcmp(argv[i], "--x11=xephyr") == 0) | 217 | if (strcmp(argv[i], "--x11=xephyr") == 0) |
218 | continue; | 218 | continue; |
219 | if (strcmp(argv[i], "--audit") == 0 || strncmp(argv[i], "--audit=", 8) == 0) { | ||
220 | fprintf(stderr, "Error: auditing x11 sandboxes is not supported\n"); | ||
221 | exit(1); | ||
222 | } | ||
223 | ptr += sprintf(ptr, "%s ", argv[i]); | 219 | ptr += sprintf(ptr, "%s ", argv[i]); |
224 | } | 220 | } |
225 | if (arg_debug) | 221 | if (arg_debug) |
@@ -339,10 +335,6 @@ void x11_start_xpra(int argc, char **argv) { | |||
339 | continue; | 335 | continue; |
340 | if (strcmp(argv[i], "--x11=xephyr") == 0) | 336 | if (strcmp(argv[i], "--x11=xephyr") == 0) |
341 | continue; | 337 | continue; |
342 | if (strcmp(argv[i], "--audit") == 0 || strncmp(argv[i], "--audit=", 8) == 0) { | ||
343 | fprintf(stderr, "Error: auditing x11 sandboxes is not supported\n"); | ||
344 | exit(1); | ||
345 | } | ||
346 | ptr += sprintf(ptr, "%s ", argv[i]); | 338 | ptr += sprintf(ptr, "%s ", argv[i]); |
347 | } | 339 | } |
348 | sprintf(ptr, "\""); | 340 | sprintf(ptr, "\""); |