diff options
Diffstat (limited to 'src/firejail/fs_var.c')
-rw-r--r-- | src/firejail/fs_var.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/fs_var.c b/src/firejail/fs_var.c index bdc5ecaf3..86122e1c0 100644 --- a/src/firejail/fs_var.c +++ b/src/firejail/fs_var.c | |||
@@ -106,6 +106,8 @@ static void build_dirs(void) { | |||
106 | void fs_var_log(void) { | 106 | void fs_var_log(void) { |
107 | build_list("/var/log"); | 107 | build_list("/var/log"); |
108 | 108 | ||
109 | // note: /var/log is not created here, if it does not exist, this section fails. Intended? | ||
110 | |||
109 | // create /var/log if it doesn't exit | 111 | // create /var/log if it doesn't exit |
110 | if (is_dir("/var/log")) { | 112 | if (is_dir("/var/log")) { |
111 | // extract group id for /var/log/wtmp | 113 | // extract group id for /var/log/wtmp |