diff options
author | 2019-10-13 02:33:36 +0000 | |
---|---|---|
committer | 2019-10-13 02:33:36 +0000 | |
commit | 76b699bac0a3b000bf34a26fbf226e05cc0a9669 (patch) | |
tree | 5a723f5ce41799b357277c91c4a0f54e81f2fdb3 /src | |
parent | postpone procfs mount until after chroot call (diff) | |
download | firejail-76b699bac0a3b000bf34a26fbf226e05cc0a9669.tar.gz firejail-76b699bac0a3b000bf34a26fbf226e05cc0a9669.tar.zst firejail-76b699bac0a3b000bf34a26fbf226e05cc0a9669.zip |
chroot error message typo
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/chroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/chroot.c b/src/firejail/chroot.c index 9ebbcea1a..ec5363ced 100644 --- a/src/firejail/chroot.c +++ b/src/firejail/chroot.c | |||
@@ -111,7 +111,7 @@ static void check_subdir(int parentfd, const char *subdir, int check_writable) { | |||
111 | exit(1); | 111 | exit(1); |
112 | } | 112 | } |
113 | if (s.st_uid != 0) { | 113 | if (s.st_uid != 0) { |
114 | fprintf(stderr, "Error: chroot /%s should owned by root\n", subdir); | 114 | fprintf(stderr, "Error: chroot /%s should be owned by root\n", subdir); |
115 | exit(1); | 115 | exit(1); |
116 | } | 116 | } |
117 | if (check_writable && ((S_IWGRP|S_IWOTH) & s.st_mode) != 0) { | 117 | if (check_writable && ((S_IWGRP|S_IWOTH) & s.st_mode) != 0) { |