diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/x11.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c index ef1095a49..985ca9337 100644 --- a/src/firejail/x11.c +++ b/src/firejail/x11.c | |||
@@ -170,7 +170,7 @@ void x11_start_xephyr(int argc, char **argv) { | |||
170 | 170 | ||
171 | // unfortunately, xephyr does a number of weird things when started by root user!!! | 171 | // unfortunately, xephyr does a number of weird things when started by root user!!! |
172 | if (getuid() == 0) { | 172 | if (getuid() == 0) { |
173 | fprintf(stderr, "Error: this feature is not available when running as root\n"); | 173 | fprintf(stderr, "Error: X11 sandboxing is not available when running as root\n"); |
174 | exit(1); | 174 | exit(1); |
175 | } | 175 | } |
176 | 176 | ||
@@ -292,7 +292,7 @@ void x11_start_xpra(int argc, char **argv) { | |||
292 | 292 | ||
293 | // unfortunately, xpra does a number of weird things when started by root user!!! | 293 | // unfortunately, xpra does a number of weird things when started by root user!!! |
294 | if (getuid() == 0) { | 294 | if (getuid() == 0) { |
295 | fprintf(stderr, "Error: this feature is not available when running as root\n"); | 295 | fprintf(stderr, "Error: X11 sandboxing is not available when running as root\n"); |
296 | exit(1); | 296 | exit(1); |
297 | } | 297 | } |
298 | 298 | ||
@@ -410,7 +410,7 @@ void x11_start(int argc, char **argv) { | |||
410 | 410 | ||
411 | // unfortunately, xpra does a number of weird things when started by root user!!! | 411 | // unfortunately, xpra does a number of weird things when started by root user!!! |
412 | if (getuid() == 0) { | 412 | if (getuid() == 0) { |
413 | fprintf(stderr, "Error: this feature is not available when running as root\n"); | 413 | fprintf(stderr, "Error: X11 sandboxing is not available when running as root\n"); |
414 | exit(1); | 414 | exit(1); |
415 | } | 415 | } |
416 | 416 | ||