aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar W <wolf@wolfsden.cz>2016-09-25 03:48:39 +0200
committerLibravatar GitHub <noreply@github.com>2016-09-25 03:48:39 +0200
commit72bda4d4accd2082da2a118d6a8ef63519eec3a6 (patch)
treee7aed39bc74094bc4d50c440659cd56dd261e6da /src
parentMerge pull request #805 from manevich/join-or-start (diff)
downloadfirejail-72bda4d4accd2082da2a118d6a8ef63519eec3a6.tar.gz
firejail-72bda4d4accd2082da2a118d6a8ef63519eec3a6.tar.zst
firejail-72bda4d4accd2082da2a118d6a8ef63519eec3a6.zip
fixed typo in comment
I fixed typo in a comment, it bothered me. If you don't really care about this kind of stuff, just reject this PR :)
Diffstat (limited to 'src')
-rw-r--r--src/firejail/restrict_users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/restrict_users.c b/src/firejail/restrict_users.c
index cb999a4a6..6aca49b1a 100644
--- a/src/firejail/restrict_users.c
+++ b/src/firejail/restrict_users.c
@@ -342,7 +342,7 @@ void restrict_users(void) {
342 sanitize_home(); 342 sanitize_home();
343 } 343 }
344 else { 344 else {
345 // user has the home diercotry outside /home 345 // user has the home directory outside /home
346 // mount tmpfs on top of /home in order to hide it 346 // mount tmpfs on top of /home in order to hide it
347 if (mount("tmpfs", "/home", "tmpfs", MS_NOSUID | MS_NODEV | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0) 347 if (mount("tmpfs", "/home", "tmpfs", MS_NOSUID | MS_NODEV | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0)
348 errExit("mount tmpfs"); 348 errExit("mount tmpfs");