diff options
author | 2016-01-21 08:42:20 -0500 | |
---|---|---|
committer | 2016-01-21 08:42:20 -0500 | |
commit | c546bc5e9ded99ce84da4404a66a4342154c5318 (patch) | |
tree | 7d7da2ab9f2160f682f722146960f2eca981b070 | |
parent | Merge branch 'master' of https://github.com/netblue30/firejail (diff) | |
download | firejail-c546bc5e9ded99ce84da4404a66a4342154c5318.tar.gz firejail-c546bc5e9ded99ce84da4404a66a4342154c5318.tar.zst firejail-c546bc5e9ded99ce84da4404a66a4342154c5318.zip |
whitelist fix
-rw-r--r-- | src/firejail/fs_whitelist.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index 22fbe2111..85a51c0c8 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -262,9 +262,7 @@ static void whitelist_path(ProfileEntry *entry) { | |||
262 | if (S_ISDIR(s.st_mode)) { | 262 | if (S_ISDIR(s.st_mode)) { |
263 | // create directory | 263 | // create directory |
264 | int rv = mkdir(path, 0755); | 264 | int rv = mkdir(path, 0755); |
265 | if (rv == -1) | 265 | (void) rv; |
266 | errExit("mkdir"); | ||
267 | |||
268 | } | 266 | } |
269 | 267 | ||
270 | // process regular file | 268 | // process regular file |