diff options
Diffstat (limited to 'src/firejail/fs_whitelist.c')
-rw-r--r-- | src/firejail/fs_whitelist.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index 3640cc711..fd2a29372 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -196,8 +196,13 @@ void fs_whitelist(void) { | |||
196 | char *fname = realpath(new_name, NULL); | 196 | char *fname = realpath(new_name, NULL); |
197 | if (!fname) { | 197 | if (!fname) { |
198 | // file not found, blank the entry in the list and continue | 198 | // file not found, blank the entry in the list and continue |
199 | if (arg_debug) | 199 | if (arg_debug) { |
200 | printf("Removed whitelist path: %s\n", entry->data); | 200 | printf("Removed whitelist path: %s\n", entry->data); |
201 | printf("\texpanded: %s\n", new_name); | ||
202 | printf("\treal path: (null)\n"); | ||
203 | printf("\t");fflush(0); | ||
204 | perror("realpath"); | ||
205 | } | ||
201 | *entry->data = '\0'; | 206 | *entry->data = '\0'; |
202 | continue; | 207 | continue; |
203 | } | 208 | } |