aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Fred Barclay <Fred-Barclay@users.noreply.github.com>2019-06-29 17:12:24 -0500
committerLibravatar Fred Barclay <Fred-Barclay@users.noreply.github.com>2019-06-29 17:12:24 -0500
commit3d706594a6e1393990190b2a589c10849cade9a9 (patch)
tree8b5eaba3ea66a80bb75b8f5874e094f3cb6d9eda
parentfree variable in error case (diff)
downloadfirejail-3d706594a6e1393990190b2a589c10849cade9a9.tar.gz
firejail-3d706594a6e1393990190b2a589c10849cade9a9.tar.zst
firejail-3d706594a6e1393990190b2a589c10849cade9a9.zip
typo
-rw-r--r--src/firejail/x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c
index 857f302e4..493bbccca 100644
--- a/src/firejail/x11.c
+++ b/src/firejail/x11.c
@@ -210,7 +210,7 @@ void x11_start_xvfb(int argc, char **argv) {
210 210
211 setenv("FIREJAIL_X11", "yes", 1); 211 setenv("FIREJAIL_X11", "yes", 1);
212 212
213 // mever try to run X servers as root!!! 213 // never try to run X servers as root!!!
214 if (getuid() == 0) { 214 if (getuid() == 0) {
215 fprintf(stderr, "Error: X11 sandboxing is not available when running as root\n"); 215 fprintf(stderr, "Error: X11 sandboxing is not available when running as root\n");
216 exit(1); 216 exit(1);