diff options
Diffstat (limited to 'src/firejail/fs_whitelist.c')
-rw-r--r-- | src/firejail/fs_whitelist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index b10858411..0970642db 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -95,9 +95,10 @@ static char *resolve_downloads(void) { | |||
95 | if (asprintf(&fname, "%s/%s", cfg.homedir, ptr1) == -1) | 95 | if (asprintf(&fname, "%s/%s", cfg.homedir, ptr1) == -1) |
96 | errExit("asprintf"); | 96 | errExit("asprintf"); |
97 | 97 | ||
98 | if (stat(fname, &s) == -1) | 98 | if (stat(fname, &s) == -1) { |
99 | free(fname); | 99 | free(fname); |
100 | goto errout; | 100 | goto errout; |
101 | } | ||
101 | 102 | ||
102 | char *rv; | 103 | char *rv; |
103 | if (asprintf(&rv, "whitelist ~/%s", ptr + 24) == -1) | 104 | if (asprintf(&rv, "whitelist ~/%s", ptr + 24) == -1) |